Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hub Generated] Review request for Microsoft.Media/Streaming to add version stable/2022-11-01 #21191

Merged
Merged
Show file tree
Hide file tree
Changes from 13 commits
Commits
Show all changes
39 commits
Select commit Hold shift + click to select a range
0b59b3e
Adds base for updating Microsoft.Media/Streaming from version stable/…
StephanieHan Oct 17, 2022
0668ecd
Updates readme
StephanieHan Oct 17, 2022
4062a81
Updates API version in new specs and examples
StephanieHan Oct 17, 2022
27b06ef
add changes to 2022-11-01
Oct 19, 2022
c837c50
fix for linter and avocado
Oct 19, 2022
7ae44c4
fix format
Oct 19, 2022
b25edd8
address all comments
Oct 26, 2022
4ce799a
remove extra white space
Oct 26, 2022
aef67ad
fix format
Oct 26, 2022
3ddb66b
fix model validation
Oct 26, 2022
ee79e83
fix all warnings
Oct 26, 2022
571eccc
fix for comments
Oct 27, 2022
75c1780
fix lint
Oct 27, 2022
246b08f
add properties to model and fix comments
Oct 28, 2022
f9699aa
change api method to POST and update example files
Oct 28, 2022
fab0ea1
fix operationId
Oct 28, 2022
7e4b29a
fix operationId again
Oct 28, 2022
33895e2
fix healthDescription property
Nov 2, 2022
f4ac309
fix example
Nov 2, 2022
2d3ec07
fix descriptions for status properties
Nov 3, 2022
b0b8e52
add description of stream event properties
Nov 3, 2022
06fbebb
add descriptions for stream event properties
Nov 3, 2022
47f82c0
fix validation
Nov 3, 2022
1b6fcff
fix prettier
Nov 3, 2022
aac11df
mark time string as date-time format
Nov 3, 2022
6a015d2
add timedMetadataEndpoints property to live event properties
Nov 3, 2022
e204361
fix validation
Nov 3, 2022
055d57a
fix description and example
Nov 4, 2022
bd18454
annotate date-time format for one property
Nov 7, 2022
641b9fd
update example
Nov 7, 2022
0dfd9a8
add two additional properties to getStatus response
Dec 7, 2022
81ee7f3
fix example
Dec 8, 2022
4b9f85b
Merge branch 'main' into mediaservices-Microsoft.Media-2022-11-01
StephanieHan Jan 31, 2023
99079d7
fix merge
Jan 31, 2023
7d4f924
fix spell check
Jan 31, 2023
c07a645
fix readme
Feb 7, 2023
0949fbb
Merge branch 'main' into mediaservices-Microsoft.Media-2022-11-01
StephanieHan Feb 8, 2023
3c1e182
add API readiness tests for the new vesrion
StephanieHan Feb 8, 2023
7775225
fix API readiness test
StephanieHan Feb 8, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"parameters": {
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
"resourceGroupName": "mediaresources",
"accountName": "slitestmedia10",
"operationId": "62e4d893-d233-4005-988e-a428d9f77076",
"api-version": "2022-11-01"
},
"responses": {
"200": {
"body": {
"error": {
"code": "None",
"message": null,
"target": "d7aea790-8acb-40b9-8f9f-21cc37c9e519"
},
"name": "62e4d893-d233-4005-988e-a428d9f77076",
"status": "InProgress"
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"parameters": {
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
"resourceGroupName": "mediaresources",
"accountName": "slitestmedia10",
"liveEventName": "myLiveEvent1",
"api-version": "2022-11-01"
},
"responses": {
"202": {
"headers": {
"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",
"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"
}
},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,177 @@
{
"parameters": {
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
"resourceGroupName": "mediaresources",
"accountName": "slitestmedia10",
"liveEventName": "myLiveEvent1",
"api-version": "2022-11-01",
"parameters": {
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"description": "test event 1",
"input": {
"streamingProtocol": "RTMP",
"keyFrameIntervalDuration": "PT6S",
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
}
},
"preview": {
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
}
}
}
}
},
"responses": {
"201": {
"headers": {
"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",
"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"
},
"body": {
"name": "myLiveEvent1",
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"type": "Microsoft.Media/mediaservices/liveevents",
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"description": "test event 1",
"resourceState": "Creating",
"provisioningState": "InProgress",
"created": "2018-03-03T02:25:06.0982751Z",
"lastModified": "2018-03-03T02:25:06.0982751Z",
"useStaticHostname": false,
"streamOptions": [],
"input": {
"keyFrameIntervalDuration": "PT6S",
"streamingProtocol": "FragmentedMP4",
"accessToken": "<accessToken>",
"endpoints": [],
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
}
},
"preview": {
"previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
"streamingPolicyName": null,
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
},
"endpoints": []
},
"encoding": {
"encodingType": "None",
"presetName": null
},
"crossSiteAccessPolicies": {
"clientAccessPolicy": null,
"crossDomainPolicy": null
}
}
}
},
"200": {
"body": {
"name": "myLiveEvent1",
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"type": "Microsoft.Media/mediaservices/liveevents",
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"description": "test event 1",
"resourceState": "Stopped",
"provisioningState": "Succeeded",
"created": "2018-03-03T02:25:06.0982751Z",
"lastModified": "2018-03-03T02:25:06.0982751Z",
"useStaticHostname": false,
"streamOptions": [],
"input": {
"keyFrameIntervalDuration": "PT6S",
"streamingProtocol": "FragmentedMP4",
"accessToken": "<accessToken>",
"endpoints": [],
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
}
},
"preview": {
"previewLocator": "c91726b4-880c-4090-94aa-e6ddb1384b37",
"streamingPolicyName": null,
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
},
"endpoints": []
},
"encoding": {
"encodingType": "None",
"presetName": null
},
"crossSiteAccessPolicies": {
"clientAccessPolicy": null,
"crossDomainPolicy": null
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
{
"parameters": {
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
"resourceGroupName": "mediaresources",
"accountName": "slitestmedia10",
"liveEventName": "myLiveEvent1",
"api-version": "2022-11-01",
"parameters": {
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"name": "myLiveEvent1",
"type": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourcegroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents",
"location": "West US",
"tags": {
"dynamicProperties": {
"tag1": "value1",
"tag2": "value2"
}
},
"properties": {
"description": "test event updated",
"input": {
"streamingProtocol": "FragmentedMP4",
"keyFrameIntervalDuration": "PT6S",
"endpoints": [],
"accessToken": null
},
"preview": {
"endpoints": [],
"accessControl": {
"iP": {
"allow": [
{
"nName": "AllowOne",
"address": "192.1.1.0",
"subnetPrefixLength": null
}
]
}
},
"previewLocator": null,
"streamingPolicyName": null
},
"encoding": {
"encodingType": "None",
"presetName": null
},
"provisioningState": null,
"resourceState": "Stopped",
"crossSiteAccessPolicies": null,
"useStaticHostname": false,
"streamOptions": [],
"created": "2018-03-02T18:25:07.5748853-08:00",
"lastModified": "2018-03-02T18:25:07.5748853-08:00"
}
}
},
"responses": {
"202": {
"headers": {
"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",
"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"
}
},
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"parameters": {
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
"resourceGroupName": "mediaresources",
"accountName": "slitestmedia10",
"api-version": "2022-11-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "myLiveEvent1",
"id": "/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1",
"type": "Microsoft.Media/mediaservices/liveevents",
"location": "West US",
"tags": {
"tag1": "value1",
"tag2": "value2"
},
"properties": {
"description": "test event 1",
"resourceState": "Stopped",
"provisioningState": "Succeeded",
"created": "2018-03-03T02:25:08.5564064Z",
"lastModified": "2018-03-03T02:25:08.5564064Z",
"useStaticHostname": false,
"streamOptions": [],
"input": {
"keyFrameIntervalDuration": "PT6S",
"streamingProtocol": "FragmentedMP4",
"accessToken": "<accessToken>",
"endpoints": [
{
"protocol": "FragmentedMP4",
"url": "http://clouddeployment.media-test.net/de153bb0814542d9b7e2339ce9430dc4/ingest.isml"
}
]
},
"preview": {
"previewLocator": "a220e223-faf8-4e03-b9a9-2c2432f48025",
"streamingPolicyName": null,
"accessControl": {
"ip": {
"allow": [
{
"name": "AllowAll",
"address": "0.0.0.0",
"subnetPrefixLength": 0
}
]
}
},
"endpoints": [
{
"protocol": "FragmentedMP4",
"url": "https://myliveevent1-slitestmedia10.preview-usso.channel.mediaservices.windows.net/a220e223-faf8-4e03-b9a9-2c2432f48025/preview.ism/manifest"
}
]
},
"encoding": {
"encodingType": "None",
"presetName": null
},
"crossSiteAccessPolicies": {
"clientAccessPolicy": null,
"crossDomainPolicy": null
}
}
}
]
}
}
}
}
Loading