Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
dbe6e9d
-Publish "Azure metrics REST Ingestion API" public preview swagger spec
vickyv51 Sep 10, 2018
25acd4f
Address review comments
vickyv51 Sep 10, 2018
47b3f99
Fix a bug in readme.md.
vickyv51 Sep 10, 2018
922f781
-Remove validation section that is not necessary
vickyv51 Sep 11, 2018
8ba2538
-Address review comments & fix several copy paste mistakes to use sen…
vickyv51 Sep 11, 2018
89a8ab4
Address the PR comments
vickyv51 Sep 11, 2018
e53b30d
-Remove assembly namespace prefix in few other places
vickyv51 Sep 12, 2018
d4de326
-Fix last batch of ARM Errors
vickyv51 Sep 13, 2018
11666b8
-Drop all the types that recursively came with ObjectResult and use s…
vickyv51 Sep 13, 2018
9af3f9f
-Fix the example to just follow key-value pairs for all required para…
vickyv51 Sep 13, 2018
4fd8985
-Fix the responses section in the example
vickyv51 Sep 13, 2018
64bb7e5
-Fix the type bug in the example, use int32 instead of string
vickyv51 Sep 13, 2018
9f974ca
-Fix the swagger spec to ensure the documentation content is rendered…
vickyv51 Sep 14, 2018
69db2fd
-Fix the readme.md file to refer the correct file
vickyv51 Sep 14, 2018
1143694
Merge branch 'master' of https://github.com/Azure/azure-rest-api-specs
vickyv51 Sep 14, 2018
bb602bf
-Delete the old spec as it is now renamed
vickyv51 Sep 14, 2018
f343eab
-Call operationId with suffix Create to be consistent
vickyv51 Sep 14, 2018
d65b7f5
-Use consistent naming "xyz_API" for the swagger spec file.
vickyv51 Sep 18, 2018
92946e7
Merge branch 'master' of https://github.com/vickyv51/azure-rest-api-s…
vickyv51 Sep 18, 2018
014a894
-Merge the renamed case sensitive file name that got ignored earlier.
vickyv51 Sep 18, 2018
2baeee1
-Fix an ordering issue in swagger json
vickyv51 Sep 18, 2018
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 @@ -3,7 +3,7 @@
"api-version": "2018-09-01-preview",
"Content-Type": "application/json",
"Content-Length": 783,
"Authorization": "Bearer {AAD JWT token issued for https:\\\\monitoring.azure.com}",
"Authorization": "Bearer {AAD JWT token issued for \"https:\\\\monitoring.azure.com\\}\"",
"subscriptionId": "b7ac8a0c-fbae-4e29-a0f7-09999b8857a1",
"resourceGroupName": "CowsSeller",
"resourceProvider": "Microsoft.Storage",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,19 +37,22 @@
"in": "header",
"name": "Content-Type",
"description": "Supports application/json and application/x-ndjson",
"required": true,
"type": "string"
},
{
"in": "header",
"name": "Content-Length",
"description": "Content length of the payload",
"type": "integer",
"required": true,
"format": "int32"
},
{
"in": "header",
"name": "Authorization",
"description": "Authorization token issue for issued for audience https:\\\\monitoring.azure.com",
"description": "Authorization token issue for issued for audience \"https:\\\\monitoring.azure.com\\\"",
"required": true,
"type": "string"
},
{
Expand Down Expand Up @@ -130,15 +133,22 @@
"data": {
"$ref": "#/definitions/AzureMetricsData"
}
}
},
"required": [
"time",
"data"
]
},
"AzureMetricsData": {
"type": "object",
"properties": {
"baseData": {
"$ref": "#/definitions/AzureMetricsBaseData"
}
}
},
"required": [
"baseData"
]
},
"AzureMetricsBaseData": {
"type": "object",
Expand All @@ -165,7 +175,12 @@
"$ref": "#/definitions/AzureTimeSeriesData"
}
}
}
},
"required":[
"metric",
"namespace",
"series"
]
},
"AzureTimeSeriesData": {
"type": "object",
Expand Down Expand Up @@ -197,7 +212,13 @@
"description": "Gets or sets Count value",
"type": "integer"
}
}
},
"required" : [
"min",
"max",
"sum",
"count"
]
},
"AzureMetricsResult": {
"type": "object",
Expand Down
3 changes: 2 additions & 1 deletion specification/monitor/data-plane/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ These settings apply only when `--tag=package-2018-09-preview` is specified on t

``` yaml $(tag) == 'package-2018-09-preview'
input-file:
- preview/2018-09-01-preview/MetricsCreate.json
- preview/2018-09-01-preview/metricsCreate_API.json

```

# Code Generation
Expand Down