diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/createOrUpdateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/createOrUpdateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json index 97febeb0ec39..067e2aea94b2 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/createOrUpdateDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/createOrUpdateDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "dashboard": { "properties": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/deleteDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json similarity index 83% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/deleteDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json index 28bd0c84a311..c224123f0b51 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/deleteDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/deleteDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/getDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json similarity index 97% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/getDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json index 94ec6fa9a352..04aed0fd3933 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/getDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/getDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsByResourceGroup.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsByResourceGroup.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json index c859f46aa117..ea92c2e1edc8 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsByResourceGroup.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsByResourceGroup.json @@ -1,7 +1,7 @@ { "parameters": { "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsBySubscription.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsBySubscription.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json index 0ae89283c2c4..5b8fbb0eeb56 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/listDashboardsBySubscription.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/listDashboardsBySubscription.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000" }, "responses": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/operationsList.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json similarity index 97% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/operationsList.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json index 44225b6e3bbf..0bf1bff7c299 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/operationsList.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/operationsList.json @@ -1,6 +1,6 @@ { "parameters": { - "api-version": "2015-11-01-preview" + "api-version": "2015-08-01-preview" }, "responses": { "200": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/updateDashboard.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json similarity index 97% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/updateDashboard.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json index ccdac4a24227..2fe424718590 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/examples/updateDashboard.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/examples/updateDashboard.json @@ -2,7 +2,7 @@ "parameters": { "dashboardName": "testDashboard", "resourceGroupName": "testRG", - "api-version": "2015-11-01-preview", + "api-version": "2015-08-01-preview", "subscriptionId": "00000000-0000-0000-0000-000000000000", "dashboard": { "tags": { diff --git a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/portal.json b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json similarity index 98% rename from specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/portal.json rename to specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json index 37d6cc814f94..233cfaa25861 100644 --- a/specification/portal/resource-manager/Microsoft.Portal/preview/2015-11-01-preview/portal.json +++ b/specification/portal/resource-manager/Microsoft.Portal/preview/2015-08-01-preview/portal.json @@ -1,7 +1,7 @@ { "swagger": "2.0", "info": { - "version": "2015-11-01-preview", + "version": "2015-08-01-preview", "title": "portal", "description": "Allows creation and deletion of Azure Shared Dashboards.", "x-ms-code-generation-settings": { @@ -379,6 +379,7 @@ }, "definitions": { "DashboardListResult": { + "type": "object", "properties": { "value": { "type": "array", @@ -395,6 +396,7 @@ "description": "List of dashboards." }, "DashboardParts": { + "type": "object", "description": "A dashboard part.", "required": [ "position" @@ -445,6 +447,7 @@ } }, "DashboardLens": { + "type": "object", "description": "A dashboard lens.", "required": [ "order", @@ -472,6 +475,7 @@ } }, "DashboardProperties": { + "type": "object", "description": "The shared dashboard properties.", "properties": { "lenses": { @@ -491,6 +495,7 @@ } }, "Dashboard": { + "type": "object", "description": "The shared dashboard resource definition.", "x-ms-azure-resource": true, "x-ms-client-flatten": true, @@ -536,6 +541,7 @@ } }, "PatchableDashboard": { + "type": "object", "description": "The shared dashboard resource definition.", "x-ms-azure-resource": true, "x-ms-client-flatten": true, @@ -555,6 +561,7 @@ } }, "ResourceProviderOperationList": { + "type": "object", "description": "Results of the request to list operations.", "readOnly": true, "properties": { @@ -572,6 +579,7 @@ } }, "ResourceProviderOperation": { + "type": "object", "description": "Supported operations of this resource provider.", "readOnly": true, "properties": { @@ -607,6 +615,7 @@ } }, "ErrorResponse": { + "type": "object", "description": "Error response.", "properties": { "error": { @@ -616,6 +625,7 @@ } }, "ErrorDefinition": { + "type": "object", "description": "Error definition.", "properties": { "code": { diff --git a/specification/portal/resource-manager/readme.go.md b/specification/portal/resource-manager/readme.go.md index 2f294d04a728..464680c86c54 100644 --- a/specification/portal/resource-manager/readme.go.md +++ b/specification/portal/resource-manager/readme.go.md @@ -9,11 +9,11 @@ go: clear-output-folder: true ``` -### Tag: package-2015-11-01-preview and go +### Tag: package-2015-08-01-preview and go -These settings apply only when `--tag=package-2015-11-01-preview --go` is specified on the command line. +These settings apply only when `--tag=package-2015-08-01-preview --go` is specified on the command line. Please also specify `--go-sdk-folder=`. -```yaml $(tag) == 'package-2015-11-01-preview' && $(go) -output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2015-11-01-preview/$(namespace) -``` +```yaml $(tag) == 'package-2015-08-01-preview' && $(go) +output-folder: $(go-sdk-folder)/services/preview/$(namespace)/mgmt/2015-08-01-preview/$(namespace) +``` \ No newline at end of file diff --git a/specification/portal/resource-manager/readme.md b/specification/portal/resource-manager/readme.md index 09102be41ac4..74f1cdff4e21 100644 --- a/specification/portal/resource-manager/readme.md +++ b/specification/portal/resource-manager/readme.md @@ -24,18 +24,19 @@ For other options on installation see [Installing AutoRest](https://aka.ms/autor These are the global settings for the portal. -```yaml +``` yaml openapi-type: arm -tag: package-2015-11-01-preview +tag: package-2015-08-01-preview ``` -### Tag: package-2015-11-01-preview -These settings apply only when `--tag=package-2015-11-01-preview` is specified on the command line. +### Tag: package-2015-08-01-preview -```yaml $(tag) == 'package-2015-11-01-preview' +These settings apply only when `--tag=package-2015-08-01-preview` is specified on the command line. + +```yaml $(tag) == 'package-2015-08-01-preview' input-file: - - Microsoft.Portal/preview/2015-11-01-preview/portal.json + - Microsoft.Portal/preview/2015-08-01-preview/portal.json ``` --- @@ -47,7 +48,7 @@ input-file: This section describes what SDK should be generated by the automatic system. This is not used by Autorest itself. -```yaml $(swagger-to-sdk) +``` yaml $(swagger-to-sdk) swagger-to-sdk: - repo: azure-sdk-for-python - repo: azure-sdk-for-java diff --git a/specification/portal/resource-manager/readme.python.md b/specification/portal/resource-manager/readme.python.md index 30501376cea9..e296c8e06256 100644 --- a/specification/portal/resource-manager/readme.python.md +++ b/specification/portal/resource-manager/readme.python.md @@ -10,7 +10,7 @@ python: payload-flattening-threshold: 2 namespace: Microsoft.Portal package-name: portal - package-version: 2015-11-01-preview + package-version: 2015-08-01-preview clear-output-folder: true ``` diff --git a/specification/portal/resource-manager/readme.ruby.md b/specification/portal/resource-manager/readme.ruby.md index 786d34bca721..501b9edc68cd 100644 --- a/specification/portal/resource-manager/readme.ruby.md +++ b/specification/portal/resource-manager/readme.ruby.md @@ -4,16 +4,16 @@ These settings apply only when `--ruby` is specified on the command line. ```yaml package-name: azure_mgmt_portal -package-version: 2015-11-01-preview +package-version: 2015-08-01-preview azure-arm: true ``` -### Tag: package-2015-11-01-preview and ruby +### Tag: package-2015-08-01-preview and ruby -These settings apply only when `--tag=package-2015-11-01-preview --ruby` is specified on the command line. +These settings apply only when `--tag=package-2015-08-01-preview --ruby` is specified on the command line. Please also specify `--ruby-sdks-folder=`. -```yaml $(tag) == 'package-2015-11-01-preview' && $(ruby) +```yaml $(tag) == 'package-2015-08-01-preview' && $(ruby) namespace: Microsoft.Portal output-folder: $(ruby-sdks-folder)/portal ```