Skip to content

Commit ab00670

Browse files
seaeunlee14seaeunleeZzzMao
authored
[Hub Generated] Review request for Microsoft.Media to add version stable/2022-08-01 (#19778)
* Adds base for updating Microsoft.Media from version stable/2021-11-01 to version 2022-08-01 * Updates readme * Updates API version in new specs and examples * pushing new api version 2022-08-01 * fix avocado error * Update AssetsAndAssetFilters.json update hls setting description * Update AssetsAndAssetFilters.json changel roles to role * Update readme.md * Update read.md: add in missing ``` * Update readme.md: add correct default tag Co-authored-by: Sea Eun Lee <[email protected]> Co-authored-by: Ziwei Mao <[email protected]>
1 parent 79bf6bf commit ab00670

File tree

65 files changed

+9028
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+9028
-1
lines changed

specification/mediaservices/resource-manager/Microsoft.Media/stable/2022-08-01/AccountFilters.json

Lines changed: 518 additions & 0 deletions
Large diffs are not rendered by default.

specification/mediaservices/resource-manager/Microsoft.Media/stable/2022-08-01/AssetsAndAssetFilters.json

Lines changed: 2067 additions & 0 deletions
Large diffs are not rendered by default.

specification/mediaservices/resource-manager/Microsoft.Media/stable/2022-08-01/ContentKeyPolicies.json

Lines changed: 1207 additions & 0 deletions
Large diffs are not rendered by default.

specification/mediaservices/resource-manager/Microsoft.Media/stable/2022-08-01/StreamingPoliciesAndStreamingLocators.json

Lines changed: 1292 additions & 0 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,171 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contosomedia",
6+
"filterName": "newAccountFilter",
7+
"api-version": "2022-08-01",
8+
"parameters": {
9+
"properties": {
10+
"presentationTimeRange": {
11+
"startTimestamp": 0,
12+
"endTimestamp": 170000000,
13+
"presentationWindowDuration": 9223372036854774806,
14+
"liveBackoffDuration": 0,
15+
"timescale": 10000000,
16+
"forceEndTimestamp": false
17+
},
18+
"firstQuality": {
19+
"bitrate": 128000
20+
},
21+
"tracks": [
22+
{
23+
"trackSelections": [
24+
{
25+
"property": "Type",
26+
"operation": "Equal",
27+
"value": "Audio"
28+
},
29+
{
30+
"property": "Language",
31+
"operation": "NotEqual",
32+
"value": "en"
33+
},
34+
{
35+
"property": "FourCC",
36+
"operation": "NotEqual",
37+
"value": "EC-3"
38+
}
39+
]
40+
},
41+
{
42+
"trackSelections": [
43+
{
44+
"property": "Type",
45+
"operation": "Equal",
46+
"value": "Video"
47+
},
48+
{
49+
"property": "Bitrate",
50+
"operation": "Equal",
51+
"value": "3000000-5000000"
52+
}
53+
]
54+
}
55+
]
56+
}
57+
}
58+
},
59+
"responses": {
60+
"201": {
61+
"body": {
62+
"name": "newAccountFilter",
63+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
64+
"type": "Microsoft.Media/mediaservices/accountFilters",
65+
"properties": {
66+
"presentationTimeRange": {
67+
"startTimestamp": 0,
68+
"endTimestamp": 170000000,
69+
"presentationWindowDuration": 9223372036854774806,
70+
"liveBackoffDuration": 0,
71+
"timescale": 10000000,
72+
"forceEndTimestamp": false
73+
},
74+
"firstQuality": {
75+
"bitrate": 128000
76+
},
77+
"tracks": [
78+
{
79+
"trackSelections": [
80+
{
81+
"property": "Type",
82+
"value": "Audio",
83+
"operation": "Equal"
84+
},
85+
{
86+
"property": "Language",
87+
"value": "en",
88+
"operation": "NotEqual"
89+
},
90+
{
91+
"property": "FourCC",
92+
"value": "EC-3",
93+
"operation": "NotEqual"
94+
}
95+
]
96+
},
97+
{
98+
"trackSelections": [
99+
{
100+
"property": "Type",
101+
"value": "Video",
102+
"operation": "Equal"
103+
},
104+
{
105+
"property": "Bitrate",
106+
"value": "3000000-5000000",
107+
"operation": "Equal"
108+
}
109+
]
110+
}
111+
]
112+
}
113+
}
114+
},
115+
"200": {
116+
"body": {
117+
"name": "newAccountFilter",
118+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/newAccountFilter",
119+
"type": "Microsoft.Media/mediaservices/accountFilters",
120+
"properties": {
121+
"presentationTimeRange": {
122+
"startTimestamp": 0,
123+
"endTimestamp": 170000000,
124+
"presentationWindowDuration": 9223372036854774806,
125+
"liveBackoffDuration": 0,
126+
"timescale": 10000000,
127+
"forceEndTimestamp": false
128+
},
129+
"firstQuality": {
130+
"bitrate": 128000
131+
},
132+
"tracks": [
133+
{
134+
"trackSelections": [
135+
{
136+
"property": "Type",
137+
"value": "Audio",
138+
"operation": "Equal"
139+
},
140+
{
141+
"property": "Language",
142+
"value": "en",
143+
"operation": "NotEqual"
144+
},
145+
{
146+
"property": "FourCC",
147+
"value": "EC-3",
148+
"operation": "NotEqual"
149+
}
150+
]
151+
},
152+
{
153+
"trackSelections": [
154+
{
155+
"property": "Type",
156+
"value": "Video",
157+
"operation": "Equal"
158+
},
159+
{
160+
"property": "Bitrate",
161+
"value": "3000000-5000000",
162+
"operation": "Equal"
163+
}
164+
]
165+
}
166+
]
167+
}
168+
}
169+
}
170+
}
171+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contosomedia",
6+
"filterName": "accountFilterWithTimeWindowAndTrack",
7+
"api-version": "2022-08-01"
8+
},
9+
"responses": {
10+
"200": {},
11+
"204": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contosomedia",
6+
"filterName": "accountFilterWithTrack",
7+
"api-version": "2022-08-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "accountFilterWithTrack",
13+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
14+
"type": "Microsoft.Media/mediaservices/accountFilters",
15+
"properties": {
16+
"tracks": [
17+
{
18+
"trackSelections": [
19+
{
20+
"property": "Type",
21+
"value": "Audio",
22+
"operation": "Equal"
23+
},
24+
{
25+
"property": "Language",
26+
"value": "en",
27+
"operation": "NotEqual"
28+
},
29+
{
30+
"property": "FourCC",
31+
"value": "EC-3",
32+
"operation": "NotEqual"
33+
}
34+
]
35+
},
36+
{
37+
"trackSelections": [
38+
{
39+
"property": "Type",
40+
"value": "Video",
41+
"operation": "Equal"
42+
},
43+
{
44+
"property": "Bitrate",
45+
"value": "3000000-5000000",
46+
"operation": "Equal"
47+
}
48+
]
49+
}
50+
]
51+
}
52+
}
53+
}
54+
}
55+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,111 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
4+
"resourceGroupName": "contoso",
5+
"accountName": "contosomedia",
6+
"api-version": "2022-08-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "accountFilterWithTimeWindowAndTrack",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTimeWindowAndTrack",
15+
"type": "Microsoft.Media/mediaservices/accountFilters",
16+
"properties": {
17+
"presentationTimeRange": {
18+
"startTimestamp": 0,
19+
"endTimestamp": 170000000,
20+
"presentationWindowDuration": 9223372036854774806,
21+
"liveBackoffDuration": 0,
22+
"timescale": 10000000,
23+
"forceEndTimestamp": false
24+
},
25+
"firstQuality": {
26+
"bitrate": 128000
27+
},
28+
"tracks": [
29+
{
30+
"trackSelections": [
31+
{
32+
"property": "Type",
33+
"value": "Audio",
34+
"operation": "Equal"
35+
},
36+
{
37+
"property": "Language",
38+
"value": "en",
39+
"operation": "NotEqual"
40+
},
41+
{
42+
"property": "FourCC",
43+
"value": "EC-3",
44+
"operation": "NotEqual"
45+
}
46+
]
47+
},
48+
{
49+
"trackSelections": [
50+
{
51+
"property": "Type",
52+
"value": "Video",
53+
"operation": "Equal"
54+
},
55+
{
56+
"property": "Bitrate",
57+
"value": "3000000-5000000",
58+
"operation": "Equal"
59+
}
60+
]
61+
}
62+
]
63+
}
64+
},
65+
{
66+
"name": "accountFilterWithTrack",
67+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contoso/providers/Microsoft.Media/mediaservices/contosomedia/accountFilters/accountFilterWithTrack",
68+
"type": "Microsoft.Media/mediaservices/accountFilters",
69+
"properties": {
70+
"tracks": [
71+
{
72+
"trackSelections": [
73+
{
74+
"property": "Type",
75+
"value": "Audio",
76+
"operation": "Equal"
77+
},
78+
{
79+
"property": "Language",
80+
"value": "en",
81+
"operation": "NotEqual"
82+
},
83+
{
84+
"property": "FourCC",
85+
"value": "EC-3",
86+
"operation": "NotEqual"
87+
}
88+
]
89+
},
90+
{
91+
"trackSelections": [
92+
{
93+
"property": "Type",
94+
"value": "Video",
95+
"operation": "Equal"
96+
},
97+
{
98+
"property": "Bitrate",
99+
"value": "3000000-5000000",
100+
"operation": "Equal"
101+
}
102+
]
103+
}
104+
]
105+
}
106+
}
107+
]
108+
}
109+
}
110+
}
111+
}

0 commit comments

Comments
 (0)