Skip to content

Commit 429ced7

Browse files
StephanieHanStephanie Han
andauthored
[Hub Generated] Review request for Microsoft.Media to add version stable/2022-08-01 (#19891)
* 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 * remove unrelated changes * delete unrelated examples * make changes to 2022-08-01 streamingservice * fix comments Co-authored-by: Stephanie Han <[email protected]>
1 parent 6555955 commit 429ced7

28 files changed

+4047
-18
lines changed
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-08-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,13 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"liveEventName": "myLiveEvent1",
7+
"api-version": "2022-08-01"
8+
},
9+
"responses": {
10+
"202": {},
11+
"200": {}
12+
}
13+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,177 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"liveEventName": "myLiveEvent1",
7+
"api-version": "2022-08-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-08-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-08-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+
},
87+
"preview": {
88+
"previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
89+
"streamingPolicyName": null,
90+
"accessControl": {
91+
"ip": {
92+
"allow": [
93+
{
94+
"name": "AllowAll",
95+
"address": "0.0.0.0",
96+
"subnetPrefixLength": 0
97+
}
98+
]
99+
}
100+
},
101+
"endpoints": []
102+
},
103+
"encoding": {
104+
"encodingType": "None",
105+
"presetName": null
106+
},
107+
"crossSiteAccessPolicies": {
108+
"clientAccessPolicy": null,
109+
"crossDomainPolicy": null
110+
}
111+
}
112+
}
113+
},
114+
"200": {
115+
"body": {
116+
"name": "myLiveEvent1",
117+
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
118+
"type": "Microsoft.Media/mediaservices/liveevents",
119+
"location": "West US",
120+
"tags": {
121+
"tag1": "value1",
122+
"tag2": "value2"
123+
},
124+
"properties": {
125+
"description": "test event 1",
126+
"resourceState": "Stopped",
127+
"provisioningState": "Succeeded",
128+
"created": "2018-03-03T02:25:06.0982751Z",
129+
"lastModified": "2018-03-03T02:25:06.0982751Z",
130+
"useStaticHostname": false,
131+
"streamOptions": [],
132+
"input": {
133+
"keyFrameIntervalDuration": "PT6S",
134+
"streamingProtocol": "FragmentedMP4",
135+
"accessToken": "<accessToken>",
136+
"endpoints": [],
137+
"accessControl": {
138+
"ip": {
139+
"allow": [
140+
{
141+
"name": "AllowAll",
142+
"address": "0.0.0.0",
143+
"subnetPrefixLength": 0
144+
}
145+
]
146+
}
147+
}
148+
},
149+
"preview": {
150+
"previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
151+
"streamingPolicyName": null,
152+
"accessControl": {
153+
"ip": {
154+
"allow": [
155+
{
156+
"name": "AllowAll",
157+
"address": "0.0.0.0",
158+
"subnetPrefixLength": 0
159+
}
160+
]
161+
}
162+
},
163+
"endpoints": []
164+
},
165+
"encoding": {
166+
"encodingType": "None",
167+
"presetName": null
168+
},
169+
"crossSiteAccessPolicies": {
170+
"clientAccessPolicy": null,
171+
"crossDomainPolicy": null
172+
}
173+
}
174+
}
175+
}
176+
}
177+
}
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-08-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-08-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-08-01"
62+
}
63+
},
64+
"200": {},
65+
"204": {}
66+
}
67+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,75 @@
1+
{
2+
"parameters": {
3+
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
4+
"resourceGroupName": "mediaresources",
5+
"accountName": "slitestmedia10",
6+
"api-version": "2022-08-01"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "myLiveEvent1",
14+
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
15+
"type": "Microsoft.Media/mediaservices/liveevents",
16+
"location": "West US",
17+
"tags": {
18+
"tag1": "value1",
19+
"tag2": "value2"
20+
},
21+
"properties": {
22+
"description": "test event 1",
23+
"resourceState": "Stopped",
24+
"provisioningState": "Succeeded",
25+
"created": "2018-03-03T02:25:08.5564064Z",
26+
"lastModified": "2018-03-03T02:25:08.5564064Z",
27+
"useStaticHostname": false,
28+
"streamOptions": [],
29+
"input": {
30+
"keyFrameIntervalDuration": "PT6S",
31+
"streamingProtocol": "FragmentedMP4",
32+
"accessToken": "<accessToken>",
33+
"endpoints": [
34+
{
35+
"protocol": "FragmentedMP4",
36+
"url": "http://clouddeployment.media-test.net/de153bb0814542d9b7e2339ce9430dc4/ingest.isml"
37+
}
38+
]
39+
},
40+
"preview": {
41+
"previewLocator": "a220e223-faf8-4e03-b9a9-2c2432f48025",
42+
"streamingPolicyName": null,
43+
"accessControl": {
44+
"ip": {
45+
"allow": [
46+
{
47+
"name": "AllowAll",
48+
"address": "0.0.0.0",
49+
"subnetPrefixLength": 0
50+
}
51+
]
52+
}
53+
},
54+
"endpoints": [
55+
{
56+
"protocol": "FragmentedMP4",
57+
"url": "https://myliveevent1-slitestmedia10.preview-usso.channel.mediaservices.windows.net/a220e223-faf8-4e03-b9a9-2c2432f48025/preview.ism/manifest"
58+
}
59+
]
60+
},
61+
"encoding": {
62+
"encodingType": "None",
63+
"presetName": null
64+
},
65+
"crossSiteAccessPolicies": {
66+
"clientAccessPolicy": null,
67+
"crossDomainPolicy": null
68+
}
69+
}
70+
}
71+
]
72+
}
73+
}
74+
}
75+
}

0 commit comments

Comments
 (0)