-
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.
Dev mediaservices microsoft.media 2021 11 01 (#17540)
* Adds base for updating Microsoft.Media from version stable/2021-06-01 to version 2021-11-01 * Updates readme * Updates API version in new specs and examples * Update Account swagger to 2021-11-01 * add the supressions * remove descriminator for Layers * use 2021-06-01 version for encoding service * remove 404 response * Revert "use 2021-06-01 version for encoding service" This reverts commit f1e9a60. * 202 for patch suprression * Update privateLinks to v3 to get systemData * Revert "Update privateLinks to v3 to get systemData" This reverts commit c43f857. * update streaming service and assetTracks swagger * fix lint errors. * fix some lint check. * rename examples * removing patch supression test * Update asset-tracks-operation-result-by-id-no-content.json * Update AssetsAndAssetFilters.json set x-ms-paging with null in list tracks * Update asset-tracks-operation-result-by-id-no-content.json remove 202 in post example * Update asset-tracks-operation-result-by-id.json add 202 back * Revert "removing patch supression test" This reverts commit f897922. * remove operation result data type * update description on a suppression. * add another path to the systemData suppression * update example and description * Update AssetsAndAssetFilters.json update api description * Add async headers to examples * add async headers to live event and streaming endpoint examples * Splitting Account service changes from this PR * remove unused account examples * Rebase with x-ms-identifier changes. * fix a lint error for x-ms-identifier Co-authored-by: zimao <zimao@microsoft.com> Co-authored-by: Ziwei Mao <19548067+ZzzMao@users.noreply.github.com>
- Loading branch information
1 parent
e2ef44b
commit 56756e4
Showing
107 changed files
with
16,885 additions
and
1 deletion.
There are no files selected for viewing
518 changes: 518 additions & 0 deletions
518
...tion/mediaservices/resource-manager/Microsoft.Media/stable/2021-11-01/AccountFilters.json
Large diffs are not rendered by default.
Oops, something went wrong.
2,023 changes: 2,023 additions & 0 deletions
2,023
...diaservices/resource-manager/Microsoft.Media/stable/2021-11-01/AssetsAndAssetFilters.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,175 changes: 1,175 additions & 0 deletions
1,175
.../mediaservices/resource-manager/Microsoft.Media/stable/2021-11-01/ContentKeyPolicies.json
Large diffs are not rendered by default.
Oops, something went wrong.
3,233 changes: 3,233 additions & 0 deletions
3,233
specification/mediaservices/resource-manager/Microsoft.Media/stable/2021-11-01/Encoding.json
Large diffs are not rendered by default.
Oops, something went wrong.
1,268 changes: 1,268 additions & 0 deletions
1,268
...urce-manager/Microsoft.Media/stable/2021-11-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-11-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-11-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-11-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-11-01" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
55 changes: 55 additions & 0 deletions
55
...source-manager/Microsoft.Media/stable/2021-11-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-11-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-11-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-11-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.