Skip to content

Commit

Permalink
update all swaggers to 2020-05-01 API version (#10960)
Browse files Browse the repository at this point in the history
* update all swaggers to 2020-05-01 api

* Fix some validations

* Fixed a few casing issues in examples.

* Fixed one PR comment

* Streaming swagger description updates

* Fixed typos

* Added 1 custom word for spellcheck

* Updates for the deprecated property

Co-authored-by: Ning Lin <[email protected]>
  • Loading branch information
giakas and ningl2 authored Oct 2, 2020
1 parent 9a6510d commit e52933f
Show file tree
Hide file tree
Showing 32 changed files with 713 additions and 405 deletions.
3 changes: 3 additions & 0 deletions custom-words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ clustermonitoring
clustername
Cmdkey
cmdlet
CMAF
CMMI
CNAME
cntk
Expand Down Expand Up @@ -479,6 +480,7 @@ devtestlabs
dewpoint
dhcp
diagnosticcontext
diarization
digitaltwins
DIMM
disableautoscale
Expand Down Expand Up @@ -1633,6 +1635,7 @@ tablevaluedfunctions
tagname
tagsandregions
tagvalue
TARGETDURATION
taskcompletion
taskcounts
taskfailure
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -508,7 +508,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The Version of the API to be used with the client request."
"description": "The version of the API to be used with the client request."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1404,7 +1404,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The Version of the API to be used with the client request."
"description": "The version of the API to be used with the client request."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The Version of the API to be used with the client request."
"description": "The version of the API to be used with the client request."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1163,7 +1163,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The Version of the API to be used with the client request."
"description": "The version of the API to be used with the client request."
}
}
}

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -1248,7 +1248,7 @@
"in": "query",
"required": true,
"type": "string",
"description": "The Version of the API to be used with the client request."
"description": "The version of the API to be used with the client request."
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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": "2019-10-10T22:38:03.4426085Z",
"created": "2020-09-25T03:52:07.7751982Z",
"state": "Queued",
"input": {
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job1-InputAsset"
},
"lastModified": "2019-10-10T22:38:03.4426085Z",
"lastModified": "2020-09-25T03:52:07.7751982Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job1 input"
"assetName": "job1-InputAsset"
}
]
},
Expand All @@ -34,7 +34,7 @@
"state": "Queued",
"progress": 0,
"label": "example-custom-label",
"assetName": "job1 output"
"assetName": "job1-OutputAsset"
}
],
"priority": "Low",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"resourceGroupName": "contosoresources",
"accountName": "contosomedia",
"transformName": "exampleTransform",
"$filter": "properties/created ge 2019-10-10T22:38:13.1259050Z and properties/created le 2019-10-10T22:38:23.1259050Z",
"$filter": "properties/created ge 2020-09-25T03:52:17.4802005Z and properties/created le 2020-09-25T03:52:27.4802005Z",
"$orderby": "properties/created"
},
"responses": {
Expand All @@ -17,67 +17,67 @@
"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": "2019-10-10T22:38:13.125905Z",
"created": "2020-09-25T03:52:17.4802005Z",
"state": "Processing",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
"inputs": [
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job2 input"
"assetName": "job2-InputAsset"
}
]
},
"lastModified": "2019-10-10T22:38:13.125905Z",
"lastModified": "2020-09-25T03:52:17.4802005Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
"startTime": "2019-10-10T22:28:03.125905Z",
"assetName": "job2 output"
"startTime": "2020-09-25T03:42:07.4802005Z",
"assetName": "job2-OutputAsset"
}
],
"priority": "Low",
"correlationData": {},
"startTime": "2019-10-10T22:28:03.125905Z"
"startTime": "2020-09-25T03:42:07.4802005Z"
}
},
{
"name": "job3",
"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": "2019-10-10T22:38:23.125905Z",
"created": "2020-09-25T03:52:27.4802005Z",
"state": "Finished",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
"inputs": [
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job3 input"
"assetName": "job3-InputAsset"
}
]
},
"lastModified": "2019-10-10T22:38:23.125905Z",
"lastModified": "2020-09-25T03:52:27.4802005Z",
"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"
"startTime": "2020-09-25T03:42:07.4802005Z",
"endTime": "2020-09-25T03:52:07.4802005Z",
"assetName": "job3-OutputAsset"
}
],
"priority": "Low",
"correlationData": {},
"startTime": "2019-10-10T22:28:03.125905Z",
"endTime": "2019-10-10T22:38:03.125905Z"
"startTime": "2020-09-25T03:42:07.4802005Z",
"endTime": "2020-09-25T03:52:07.4802005Z"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"resourceGroupName": "contosoresources",
"accountName": "contosomedia",
"transformName": "exampleTransform",
"$filter": "properties/lastmodified ge 2019-10-10T22:38:13.1931019Z and properties/lastmodified le 2019-10-10T22:38:23.1931019Z",
"$filter": "properties/lastmodified ge 2020-09-25T03:52:17.5701994Z and properties/lastmodified le 2020-09-25T03:52:27.5701994Z",
"$orderby": "properties/lastmodified desc"
},
"responses": {
Expand All @@ -17,67 +17,67 @@
"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": "2019-10-10T22:38:23.1931019Z",
"created": "2020-09-25T03:52:27.5701994Z",
"state": "Finished",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
"inputs": [
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job3 input"
"assetName": "job3-InputAsset"
}
]
},
"lastModified": "2019-10-10T22:38:23.1931019Z",
"lastModified": "2020-09-25T03:52:27.5701994Z",
"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"
"startTime": "2020-09-25T03:42:07.5701994Z",
"endTime": "2020-09-25T03:52:07.5701994Z",
"assetName": "job3-OutputAsset"
}
],
"priority": "Low",
"correlationData": {},
"startTime": "2019-10-10T22:28:03.1931019Z",
"endTime": "2019-10-10T22:38:03.1931019Z"
"startTime": "2020-09-25T03:42:07.5701994Z",
"endTime": "2020-09-25T03:52:07.5701994Z"
}
},
{
"name": "job2",
"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": "2019-10-10T22:38:13.1931019Z",
"created": "2020-09-25T03:52:17.5701994Z",
"state": "Processing",
"input": {
"@odata.type": "#Microsoft.Media.JobInputs",
"inputs": [
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job2 input"
"assetName": "job2-InputAsset"
}
]
},
"lastModified": "2019-10-10T22:38:13.1931019Z",
"lastModified": "2020-09-25T03:52:17.5701994Z",
"outputs": [
{
"@odata.type": "#Microsoft.Media.JobOutputAsset",
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
"startTime": "2019-10-10T22:28:03.1931019Z",
"assetName": "job2 output"
"startTime": "2020-09-25T03:42:07.5701994Z",
"assetName": "job2-OutputAsset"
}
],
"priority": "Low",
"correlationData": {},
"startTime": "2019-10-10T22:28:03.1931019Z"
"startTime": "2020-09-25T03:42:07.5701994Z"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job3 input"
"assetName": "job3-InputAsset"
}
]
},
Expand All @@ -35,15 +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"
"startTime": "2020-09-25T03:42:07.4002063Z",
"endTime": "2020-09-25T03:52:07.4002063Z",
"assetName": "job3-OutputAsset"
}
],
"priority": "Low",
"correlationData": {},
"startTime": "2019-10-10T22:28:03.0624915Z",
"endTime": "2019-10-10T22:38:03.0624915Z"
"startTime": "2020-09-25T03:42:07.4002063Z",
"endTime": "2020-09-25T03:52:07.4002063Z"
}
}
]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job1 input"
"assetName": "job1-InputAsset"
}
]
},
Expand All @@ -36,7 +36,7 @@
"state": "Queued",
"progress": 0,
"label": "example-custom-label",
"assetName": "job1 output"
"assetName": "job1-OutputAsset"
}
],
"priority": "Low",
Expand All @@ -56,7 +56,7 @@
{
"@odata.type": "#Microsoft.Media.JobInputAsset",
"files": [],
"assetName": "job2 input"
"assetName": "job2-InputAsset"
}
]
},
Expand All @@ -67,13 +67,13 @@
"state": "Processing",
"progress": 50,
"label": "example-custom-label",
"startTime": "2019-10-10T22:28:02.7835215Z",
"assetName": "job2 output"
"startTime": "2020-09-25T03:42:07.1140078Z",
"assetName": "job2-OutputAsset"
}
],
"priority": "Low",
"correlationData": {},
"startTime": "2019-10-10T22:28:02.7835215Z"
"startTime": "2020-09-25T03:42:07.1140078Z"
}
}
]
Expand Down
Loading

0 comments on commit e52933f

Please sign in to comment.