-
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.
Himasekhar ms mediaservices microsoft.media 2023 01 01 (#22557)
* Adds base for updating Microsoft.Media/Metadata from version stable/2022-08-01 to version 2023-01-01 * Updates readme * Updates API version in new specs and examples * Adding new version 2023-01-01 for metadata APIs which includes ecryption scope support in Assets create API * Updating AssetsAndAssetFilters manifest with new property encryptionScope and adding new test case for asset create with encryption scope * Fixed text alignment issues in the example file * Adding new example file in AssetsAndAssetFilters * Add missing swagger files and update tag name * Fixing the path for the Swagger file * Updating stemingService version to 2022-01-01 * Updating stemingService version to 2022-08-01 * Reverting the StremingServive API version changes * fix the test readMe file * fix the test readMe input file version --------- Co-authored-by: giakas <giakas@microsoft.com>
- Loading branch information
1 parent
ee157d6
commit ebd66fc
Showing
68 changed files
with
9,284 additions
and
5 deletions.
There are no files selected for viewing
518 changes: 518 additions & 0 deletions
518
...aservices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/AccountFilters.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,074 changes: 2,074 additions & 0 deletions
2,074
...es/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/AssetsAndAssetFilters.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,208 changes: 1,208 additions & 0 deletions
1,208
...vices/resource-manager/Microsoft.Media/Metadata/stable/2023-01-01/ContentKeyPolicies.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,292 changes: 1,292 additions & 0 deletions
1,292
...ger/Microsoft.Media/Metadata/stable/2023-01-01/StreamingPoliciesAndStreamingLocators.json
Large diffs are not rendered by default.
Oops, something went wrong.
171 changes: 171 additions & 0 deletions
171
...ce-manager/Microsoft.Media/Metadata/stable/2023-01-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": "contosorg", | ||
"accountName": "contosomedia", | ||
"filterName": "newAccountFilter", | ||
"api-version": "2023-01-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/contosorg/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/contosorg/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
...ce-manager/Microsoft.Media/Metadata/stable/2023-01-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": "contosorg", | ||
"accountName": "contosomedia", | ||
"filterName": "accountFilterWithTimeWindowAndTrack", | ||
"api-version": "2023-01-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...nager/Microsoft.Media/Metadata/stable/2023-01-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": "contosorg", | ||
"accountName": "contosomedia", | ||
"filterName": "accountFilterWithTrack", | ||
"api-version": "2023-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "accountFilterWithTrack", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/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
...-manager/Microsoft.Media/Metadata/stable/2023-01-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": "contosorg", | ||
"accountName": "contosomedia", | ||
"api-version": "2023-01-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "accountFilterWithTimeWindowAndTrack", | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/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/contosorg/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.