Skip to content

Commit 11a36e9

Browse files
StephanieHanStephanie Han
andauthored
[Hub Generated] Review request for Microsoft.Media/Streaming to add version stable/2022-11-01 (#21191)
* Adds base for updating Microsoft.Media/Streaming from version stable/2022-08-01 to version 2022-11-01 * Updates readme * Updates API version in new specs and examples * add changes to 2022-11-01 * fix for linter and avocado * fix format * address all comments * remove extra white space * fix format * fix model validation * fix all warnings * fix for comments * fix lint * add properties to model and fix comments * change api method to POST and update example files * fix operationId * fix operationId again * fix healthDescription property * fix example * fix descriptions for status properties * add description of stream event properties * add descriptions for stream event properties * fix validation * fix prettier * mark time string as date-time format * add timedMetadataEndpoints property to live event properties * fix validation * fix description and example * annotate date-time format for one property * update example * add two additional properties to getStatus response * fix example * fix merge * fix spell check * fix readme * add API readiness tests for the new vesrion * fix API readiness test --------- Co-authored-by: Stephanie Han <[email protected]>
1 parent 8099e86 commit 11a36e9

34 files changed

+5363
-5
lines changed

custom-words.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1931,6 +1931,7 @@ showonly
19311931
signalr
19321932
Signin
19331933
Signup
1934+
Silverlight
19341935
SINGLEJSON
19351936
siteextensions
19361937
sitename
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"operationId": "62e4d893-d233-4005-988e-a428d9f77076",
7+
"api-version": "2022-11-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"error": {
13+
"code": "None",
14+
"message": null,
15+
"target": "d7aea790-8acb-40b9-8f9f-21cc37c9e519"
16+
},
17+
"name": "62e4d893-d233-4005-988e-a428d9f77076",
18+
"status": "InProgress"
19+
}
20+
}
21+
}
22+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"liveEventName": "myLiveEvent1",
7+
"api-version": "2022-11-01"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"azure-asyncoperation": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveeventoperations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01",
13+
"location": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/operationlocations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01"
14+
}
15+
},
16+
"200": {}
17+
}
18+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,179 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"liveEventName": "myLiveEvent1",
7+
"api-version": "2022-11-01",
8+
"parameters": {
9+
"location": "West US",
10+
"tags": {
11+
"tag1": "value1",
12+
"tag2": "value2"
13+
},
14+
"properties": {
15+
"description": "test event 1",
16+
"input": {
17+
"streamingProtocol": "RTMP",
18+
"keyFrameIntervalDuration": "PT6S",
19+
"accessControl": {
20+
"ip": {
21+
"allow": [
22+
{
23+
"name": "AllowAll",
24+
"address": "0.0.0.0",
25+
"subnetPrefixLength": 0
26+
}
27+
]
28+
}
29+
}
30+
},
31+
"preview": {
32+
"accessControl": {
33+
"ip": {
34+
"allow": [
35+
{
36+
"name": "AllowAll",
37+
"address": "0.0.0.0",
38+
"subnetPrefixLength": 0
39+
}
40+
]
41+
}
42+
}
43+
}
44+
}
45+
}
46+
},
47+
"responses": {
48+
"201": {
49+
"headers": {
50+
"azure-asyncoperation": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveeventoperations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01",
51+
"location": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/operationlocations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01"
52+
},
53+
"body": {
54+
"name": "myLiveEvent1",
55+
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
56+
"type": "Microsoft.Media/mediaservices/liveevents",
57+
"location": "West US",
58+
"tags": {
59+
"tag1": "value1",
60+
"tag2": "value2"
61+
},
62+
"properties": {
63+
"description": "test event 1",
64+
"resourceState": "Creating",
65+
"provisioningState": "InProgress",
66+
"created": "2018-03-03T02:25:06.0982751Z",
67+
"lastModified": "2018-03-03T02:25:06.0982751Z",
68+
"useStaticHostname": false,
69+
"streamOptions": [],
70+
"input": {
71+
"keyFrameIntervalDuration": "PT6S",
72+
"streamingProtocol": "FragmentedMP4",
73+
"accessToken": "<accessToken>",
74+
"endpoints": [],
75+
"accessControl": {
76+
"ip": {
77+
"allow": [
78+
{
79+
"name": "AllowAll",
80+
"address": "0.0.0.0",
81+
"subnetPrefixLength": 0
82+
}
83+
]
84+
}
85+
},
86+
"timedMetadataEndpoints": []
87+
},
88+
"preview": {
89+
"previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
90+
"streamingPolicyName": null,
91+
"accessControl": {
92+
"ip": {
93+
"allow": [
94+
{
95+
"name": "AllowAll",
96+
"address": "0.0.0.0",
97+
"subnetPrefixLength": 0
98+
}
99+
]
100+
}
101+
},
102+
"endpoints": []
103+
},
104+
"encoding": {
105+
"encodingType": "None",
106+
"presetName": null
107+
},
108+
"crossSiteAccessPolicies": {
109+
"clientAccessPolicy": null,
110+
"crossDomainPolicy": null
111+
}
112+
}
113+
}
114+
},
115+
"200": {
116+
"body": {
117+
"name": "myLiveEvent1",
118+
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
119+
"type": "Microsoft.Media/mediaservices/liveevents",
120+
"location": "West US",
121+
"tags": {
122+
"tag1": "value1",
123+
"tag2": "value2"
124+
},
125+
"properties": {
126+
"description": "test event 1",
127+
"resourceState": "Stopped",
128+
"provisioningState": "Succeeded",
129+
"created": "2018-03-03T02:25:06.0982751Z",
130+
"lastModified": "2018-03-03T02:25:06.0982751Z",
131+
"useStaticHostname": false,
132+
"streamOptions": [],
133+
"input": {
134+
"keyFrameIntervalDuration": "PT6S",
135+
"streamingProtocol": "FragmentedMP4",
136+
"accessToken": "<accessToken>",
137+
"endpoints": [],
138+
"accessControl": {
139+
"ip": {
140+
"allow": [
141+
{
142+
"name": "AllowAll",
143+
"address": "0.0.0.0",
144+
"subnetPrefixLength": 0
145+
}
146+
]
147+
}
148+
},
149+
"timedMetadataEndpoints": []
150+
},
151+
"preview": {
152+
"previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
153+
"streamingPolicyName": null,
154+
"accessControl": {
155+
"ip": {
156+
"allow": [
157+
{
158+
"name": "AllowAll",
159+
"address": "0.0.0.0",
160+
"subnetPrefixLength": 0
161+
}
162+
]
163+
}
164+
},
165+
"endpoints": []
166+
},
167+
"encoding": {
168+
"encodingType": "None",
169+
"presetName": null
170+
},
171+
"crossSiteAccessPolicies": {
172+
"clientAccessPolicy": null,
173+
"crossDomainPolicy": null
174+
}
175+
}
176+
}
177+
}
178+
}
179+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"liveEventName": "myLiveEvent1",
7+
"api-version": "2022-11-01",
8+
"parameters": {
9+
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
10+
"name": "myLiveEvent1",
11+
"type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
12+
"location": "West US",
13+
"tags": {
14+
"dynamicProperties": {
15+
"tag1": "value1",
16+
"tag2": "value2"
17+
}
18+
},
19+
"properties": {
20+
"description": "test event updated",
21+
"input": {
22+
"streamingProtocol": "FragmentedMP4",
23+
"keyFrameIntervalDuration": "PT6S",
24+
"endpoints": [],
25+
"accessToken": null
26+
},
27+
"preview": {
28+
"endpoints": [],
29+
"accessControl": {
30+
"iP": {
31+
"allow": [
32+
{
33+
"nName": "AllowOne",
34+
"address": "192.1.1.0",
35+
"subnetPrefixLength": null
36+
}
37+
]
38+
}
39+
},
40+
"previewLocator": null,
41+
"streamingPolicyName": null
42+
},
43+
"encoding": {
44+
"encodingType": "None",
45+
"presetName": null
46+
},
47+
"provisioningState": null,
48+
"resourceState": "Stopped",
49+
"crossSiteAccessPolicies": null,
50+
"useStaticHostname": false,
51+
"streamOptions": [],
52+
"created": "2018-03-02T18:25:07.5748853-08:00",
53+
"lastModified": "2018-03-02T18:25:07.5748853-08:00"
54+
}
55+
}
56+
},
57+
"responses": {
58+
"202": {
59+
"headers": {
60+
"azure-asyncoperation": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveeventoperations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01",
61+
"location": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/operationlocations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01"
62+
}
63+
},
64+
"200": {},
65+
"204": {}
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"liveEventName": "myLiveEvent1",
7+
"api-version": "2022-11-01"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"value": [
13+
{
14+
"state": "Stopped",
15+
"healthStatus": "",
16+
"healthDescriptions": [
17+
"No issues with ingest."
18+
],
19+
"lastUpdatedTime": "2022-10-19T22:23:05.22Z",
20+
"ingestion": {
21+
"streamName": "myStream",
22+
"begin": "2022-08-17T22:13:59.45Z",
23+
"end": "2022-08-17T22:20:36.33Z",
24+
"endReason": "MPE_CLIENT_TERMINATED_SESSION",
25+
"ingestInterruptions": [
26+
{
27+
"begin": "2022-08-17T22:14:32.33Z",
28+
"end": "2022-08-17T22:15:33.22Z",
29+
"duration": "PT1S",
30+
"reason": "MPE_CLIENT_TERMINATED_SESSION"
31+
}
32+
]
33+
},
34+
"trackStatus": [
35+
{
36+
"trackId": "audio_128000",
37+
"expectedBitrate": 128000,
38+
"incomingBitrate": null,
39+
"ingestDrift": "",
40+
"requestReceived": null,
41+
"requestSucceeded": null
42+
},
43+
{
44+
"trackId": "video_2025000",
45+
"expectedBitrate": 2025000,
46+
"incomingBitrate": null,
47+
"ingestDrift": "",
48+
"requestReceived": null,
49+
"requestSucceeded": null
50+
}
51+
]
52+
}
53+
]
54+
}
55+
},
56+
"202": {
57+
"headers": {
58+
"azure-asyncoperation": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveeventoperations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01",
59+
"location": "https://management.azure.com/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/operationlocations/62e4d893-d233-4005-988e-a428d9f77076?api-version=2022-11-01"
60+
}
61+
},
62+
"304": {}
63+
}
64+
}

0 commit comments

Comments
 (0)