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 @@ -1312,7 +1312,8 @@
"x-ms-enum": {
"name": "identifier",
"modelAsString": true
}
},
"x-ms-parameter-location": "method"
}
},
"definitions": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
"api-version": "2019-03-01"
},
"responses": {
"200": {
"body": null
},
"204": {
"body": null
}
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,7 @@
"api-version": "2019-06-01"
},
"responses": {
"200": {
"body": null
},
"204": {
"body": null
}
"200": {},
"204": {}
}
}
27 changes: 26 additions & 1 deletion specification/alertsmanagement/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,34 @@ To see additional help and options, run:

These are the global settings for the AlertManagement API.

## Suppression
``` yaml
directive:
- suppress: R3025
reason: The rule applied incorrectly to base class.
where:
- $.definitions.ManagedResource
- suppress: R3026
reason: The rule applied incorrectly to base class.
where:
- $.definitions.ManagedResource
```

``` yaml
title: AlertsManagementClient
description: AlertsManagement Client
openapi-type: arm
tag: package-2019-03
tag: package-2019-06-preview
```

### Tag: package-2019-06-preview

These settings apply only when `--tag=package-2019-06-preview` is specified on the command line.

```yaml $(tag) == 'package-2019-06-preview'
input-file:
- Microsoft.AlertsManagement/preview/2019-05-05-preview/AlertsManagement.json
- Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json
```


Expand All @@ -40,6 +63,7 @@ These settings apply only when `--tag=package-2019-06` is specified on the comma
input-file:
- Microsoft.AlertsManagement/stable/2019-06-01/SmartDetectorAlertRulesApi.json
```

### Tag: package-2019-03

These settings apply only when `--tag=package-2019-03` is specified on the command line.
Expand All @@ -49,6 +73,7 @@ input-file:
- Microsoft.AlertsManagement/stable/2019-03-01/AlertsManagement.json
- Microsoft.AlertsManagement/stable/2019-03-01/SmartDetectorAlertRulesApi.json
```

### Tag: package-preview-2019-05

These settings apply only when `--tag=package-preview-2019-05` is specified on the command line.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,7 @@
},
"x-ms-pageable": {
"nextLinkName": "nextLink"
},
"x-ms-odata": "./definitions.json#/definitions/CacheContract"
}
}
},
"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ApiManagement/service/{serviceName}/caches/{cacheId}": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@
],
"responses": {
"200": {
"description": "The annotation that was successfully deleted.",
"schema": {}
"description": "The annotation that was successfully deleted."
}
},
"x-ms-examples": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,7 @@
],
"responses": {
"200": {
"description": "The work item configuration that was successfully deleted.",
"schema": {}
"description": "The work item configuration that was successfully deleted."
}
},
"x-ms-examples": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"annotationId": "bb820f1b-3110-4a8b-ba2c-8c1129d7eb6a"
},
"responses": {
"200": {
"body": {}
}
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@
"workItemConfigId": "Visual Studio Team Services"
},
"responses": {
"200": {
"body": {}
}
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,12 @@
},
"responses": {
"201": {
"id": "app1",
"displayName": "myAppName",
"packages": [],
"allowUpdates": false
"body": {
"id": "app1",
"displayName": "myAppName",
"packages": [],
"allowUpdates": false
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@
},
"responses": {
"200": {
"id": "app1",
"displayName": "myAppName",
"packages": [
{
"id": "app1",
"version": "1",
"state": "active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
"body": {
"id": "app1",
"displayName": "myAppName",
"packages": [
{
"id": "app1",
"version": "1",
"state": "Active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,38 @@
},
"responses": {
"200": {
"value": [
{
"id": "app1",
"displayName": "myAppName",
"packages": [
{
"version": "1",
"state": "active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
},
{
"id": "app2",
"displayName": "myAppName",
"packages": [
{
"version": "1",
"state": "active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
}
]
"body": {
"value": [
{
"id": "app1",
"displayName": "myAppName",
"packages": [
{
"version": "1",
"state": "Active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
},
{
"id": "app2",
"displayName": "myAppName",
"packages": [
{
"version": "1",
"state": "Active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
],
"allowUpdates": false,
"defaultVersion": "1"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,14 @@
},
"responses": {
"201": {
"id": "app1",
"version": "1",
"state": "active",
"format": "zip",
"storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas",
"storageUrlExpiry": "2017-06-27T18:48:09.9330991Z"
"body": {
"id": "app1",
"version": "1",
"state": "Active",
"format": "zip",
"storageUrl": "http://mystorage1.blob.core.windows.net/myapp?mysas",
"storageUrlExpiry": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,13 @@
},
"responses": {
"200": {
"id": "app1",
"version": "1",
"state": "active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
"body": {
"id": "app1",
"version": "1",
"state": "Active",
"format": "zip",
"lastActivationTime": "2017-06-27T18:48:09.9330991Z"
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -7,29 +7,31 @@
},
"responses": {
"200": {
"value": [
{
"type": "Microsoft.Batch/batchAccounts/applications",
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1",
"name": "app1",
"etag": "W/\"0x8D64F91A9089879\"",
"properties": {
"allowUpdates": false,
"defaultVersion": "1"
"body": {
"value": [
{
"type": "Microsoft.Batch/batchAccounts/applications",
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app1",
"name": "app1",
"etag": "W/\"0x8D64F91A9089879\"",
"properties": {
"allowUpdates": false,
"defaultVersion": "1"
}
},
{
"type": "Microsoft.Batch/batchAccounts/applications",
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2",
"name": "app1",
"etag": "W/\"0x8D64F91A9089879\"",
"properties": {
"allowUpdates": false,
"defaultVersion": "2.0",
"displayName": "myAppName"
}
}
},
{
"type": "Microsoft.Batch/batchAccounts/applications",
"id": "/subscriptions/subid/resourceGroups/default-azurebatch-japaneast/providers/Microsoft.Batch/batchAccounts/sampleacct/applications/app2",
"name": "app1",
"etag": "W/\"0x8D64F91A9089879\"",
"properties": {
"allowUpdates": false,
"defaultVersion": "2.0",
"displayName": "myAppName"
}
}
]
]
}
}
}
}
Loading