-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Media to add version sta…
…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
Showing
92 changed files
with
14,444 additions
and
2 deletions.
There are no files selected for viewing
516 changes: 516 additions & 0 deletions
516
...tion/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AccountFilters.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,569 changes: 1,569 additions & 0 deletions
1,569
specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/Accounts.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,243 changes: 1,243 additions & 0 deletions
1,243
...diaservices/resource-manager/Microsoft.Media/stable/2021-06-01/AssetsAndAssetFilters.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,169 changes: 1,169 additions & 0 deletions
1,169
.../mediaservices/resource-manager/Microsoft.Media/stable/2021-06-01/ContentKeyPolicies.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,260 changes: 1,260 additions & 0 deletions
1,260
...urce-manager/Microsoft.Media/stable/2021-06-01/StreamingPoliciesAndStreamingLocators.json
Large diffs are not rendered by default.
Oops, something went wrong.
171 changes: 171 additions & 0 deletions
171
...es/resource-manager/Microsoft.Media/stable/2021-06-01/examples/accountFilters-create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...es/resource-manager/Microsoft.Media/stable/2021-06-01/examples/accountFilters-delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...source-manager/Microsoft.Media/stable/2021-06-01/examples/accountFilters-get-by-name.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} |
111 changes: 111 additions & 0 deletions
111
.../resource-manager/Microsoft.Media/stable/2021-06-01/examples/accountFilters-list-all.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.