-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Media to add version sta…
…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
1 parent
6555955
commit 429ced7
Showing
28 changed files
with
4,047 additions
and
18 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
...s/resource-manager/Microsoft.Media/stable/2022-08-01/examples/async-operation-result.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...vices/resource-manager/Microsoft.Media/stable/2022-08-01/examples/liveevent-allocate.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
177 changes: 177 additions & 0 deletions
177
...ervices/resource-manager/Microsoft.Media/stable/2022-08-01/examples/liveevent-create.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
67 changes: 67 additions & 0 deletions
67
...ervices/resource-manager/Microsoft.Media/stable/2022-08-01/examples/liveevent-delete.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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": {} | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
...vices/resource-manager/Microsoft.Media/stable/2022-08-01/examples/liveevent-list-all.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.