Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Media to add version sta…
Browse files Browse the repository at this point in the history
…ble/2021-06-01 Part-1 (#14970)

* Adds base for updating Microsoft.Media from version stable/2021-05-01 to version 2021-06-01

* Updates readme

* Updates API version in new specs and examples

* Update the branch with copy of all other services 2020-05-01 version files except encoding.

* update AMS to 2021-06-01 Part1 (All swaggers except encoding)

* fix some lint errors.

* Fix an unreferenced file.

* fix more linting errors

* remove some unreferenced files.

* Fix systemData in streamingservice

* fix more linting errors

* fix 404s

* fix more lint errors

* fix 204 issue for delete

* fix definitions to use v2 common-types

* remove type for the live event list list defenition

* Revert "remove type for the live event list list defenition"

This reverts commit 0f66253.

* removed unused definition
  • Loading branch information
giakas authored Jun 30, 2021
1 parent 6a5cee4 commit 68c2d7c
Show file tree
Hide file tree
Showing 92 changed files with 14,444 additions and 2 deletions.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,171 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"filterName": "newAccountFilter",
"api-version": "2021-06-01",
"parameters": {
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"operation": "Equal",
"value": "Audio"
},
{
"property": "Language",
"operation": "NotEqual",
"value": "en"
},
{
"property": "FourCC",
"operation": "NotEqual",
"value": "EC-3"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"operation": "Equal",
"value": "Video"
},
{
"property": "Bitrate",
"operation": "Equal",
"value": "3000000-5000000"
}
]
}
]
}
}
},
"responses": {
"201": {
"body": {
"name": "newAccountFilter",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
},
"200": {
"body": {
"name": "newAccountFilter",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"filterName": "accountFilterWithTimeWindowAndTrack",
"api-version": "2021-06-01"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"filterName": "accountFilterWithTrack",
"api-version": "2021-06-01"
},
"responses": {
"200": {
"body": {
"name": "accountFilterWithTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"api-version": "2021-06-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "accountFilterWithTimeWindowAndTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"presentationTimeRange": {
"startTimestamp": 0,
"endTimestamp": 170000000,
"presentationWindowDuration": 9223372036854774806,
"liveBackoffDuration": 0,
"timescale": 10000000,
"forceEndTimestamp": false
},
"firstQuality": {
"bitrate": 128000
},
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
},
{
"name": "accountFilterWithTrack",
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
"type": "Microsoft.Media/mediaservices/accountFilters",
"properties": {
"tracks": [
{
"trackSelections": [
{
"property": "Type",
"value": "Audio",
"operation": "Equal"
},
{
"property": "Language",
"value": "en",
"operation": "NotEqual"
},
{
"property": "FourCC",
"value": "EC-3",
"operation": "NotEqual"
}
]
},
{
"trackSelections": [
{
"property": "Type",
"value": "Video",
"operation": "Equal"
},
{
"property": "Bitrate",
"value": "3000000-5000000",
"operation": "Equal"
}
]
}
]
}
}
]
}
}
}
}
Loading

0 comments on commit 68c2d7c

Please sign in to comment.