Skip to content

Commit

Permalink
[Hub Generated] Review request for Microsoft.Media to add version sta…
Browse files Browse the repository at this point in the history
…ble/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]>
  • Loading branch information
StephanieHan and Stephanie Han authored Aug 10, 2022
1 parent 6555955 commit 429ced7
Show file tree
Hide file tree
Showing 28 changed files with 4,047 additions and 18 deletions.
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-08-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,13 @@
{
"parameters": {
"subscriptionId": "0a6ec948-5a62-437d-b9df-934dc7c1b722",
"resourceGroupName": "mediaresources",
"accountName": "slitestmedia10",
"liveEventName": "myLiveEvent1",
"api-version": "2022-08-01"
},
"responses": {
"202": {},
"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-08-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-08-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-08-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-08-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-08-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-08-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-08-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

0 comments on commit 429ced7

Please sign in to comment.