Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2015-11-01-preview",
"api-version": "2015-08-01-preview",
"subscriptionId": "00000000-0000-0000-0000-000000000000"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"parameters": {
"api-version": "2015-11-01-preview"
"api-version": "2015-08-01-preview"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down Expand Up @@ -379,6 +379,7 @@
},
"definitions": {
"DashboardListResult": {
"type": "object",
"properties": {
"value": {
"type": "array",
Expand All @@ -395,6 +396,7 @@
"description": "List of dashboards."
},
"DashboardParts": {
"type": "object",
"description": "A dashboard part.",
"required": [
"position"
Expand Down Expand Up @@ -445,6 +447,7 @@
}
},
"DashboardLens": {
"type": "object",
"description": "A dashboard lens.",
Comment thread
jjbfour marked this conversation as resolved.
"required": [
"order",
Expand Down Expand Up @@ -472,6 +475,7 @@
}
},
"DashboardProperties": {
"type": "object",
"description": "The shared dashboard properties.",
Comment thread
jjbfour marked this conversation as resolved.
"properties": {
"lenses": {
Expand All @@ -491,6 +495,7 @@
}
},
"Dashboard": {
"type": "object",
"description": "The shared dashboard resource definition.",
Comment thread
jjbfour marked this conversation as resolved.
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
Expand Down Expand Up @@ -536,6 +541,7 @@
}
},
"PatchableDashboard": {
"type": "object",
"description": "The shared dashboard resource definition.",
Comment thread
jjbfour marked this conversation as resolved.
"x-ms-azure-resource": true,
"x-ms-client-flatten": true,
Expand All @@ -555,6 +561,7 @@
}
},
"ResourceProviderOperationList": {
"type": "object",
"description": "Results of the request to list operations.",
"readOnly": true,
"properties": {
Expand All @@ -572,6 +579,7 @@
}
},
"ResourceProviderOperation": {
"type": "object",
"description": "Supported operations of this resource provider.",
Comment thread
jjbfour marked this conversation as resolved.
"readOnly": true,
"properties": {
Expand Down Expand Up @@ -607,6 +615,7 @@
}
},
"ErrorResponse": {
"type": "object",
"description": "Error response.",
Comment thread
jjbfour marked this conversation as resolved.
"properties": {
"error": {
Expand All @@ -616,6 +625,7 @@
}
},
"ErrorDefinition": {
"type": "object",
"description": "Error definition.",
Comment thread
jjbfour marked this conversation as resolved.
"properties": {
"code": {
Expand Down
10 changes: 5 additions & 5 deletions specification/portal/resource-manager/readme.go.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path to the root directory of your azure-sdk-for-go clone>`.

```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)
```
15 changes: 8 additions & 7 deletions specification/portal/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Comment thread
anthony-c-martin marked this conversation as resolved.
```

---
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion specification/portal/resource-manager/readme.python.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down
8 changes: 4 additions & 4 deletions specification/portal/resource-manager/readme.ruby.md
Original file line number Diff line number Diff line change
Expand Up @@ -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=<path to the root directory of your azure-sdk-for-ruby clone>`.

```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
```