Skip to content
Merged

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph1",
"api-version": "2020-02-01-preview",
"parameters": {
"properties": {
"description": "updated description",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "rtspSource",
"transport": "http",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphEndpoint",
"url": "rtsp://contoso.com:554/stream1",
"credentials": {
"@odata.type": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
"username": "exampleusername",
"password": "examplepassword"
}
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink",
"inputs": [
"rtspSource"
],
"assetName": "SampleAsset"
}
]
}
}
},
"responses": {
"200": {
"body": {
"name": "SampleMediaGraph",
"properties": {
"description": "",
"state": "Stopped",
"provisioningState": "Succeeded",
"provisioningComment": "",
"created": "2020-01-29T22:46:17.3044334Z",
"lastModified": "2020-01-29T22:46:17.3044334Z",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "RTSPSource0",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphEndpoint",
"url": "rtsp://contoso.com:554/stream1",
"credentials": {
"@odata.type": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
"username": "exampleusername",
"password": "examplepassword"
}
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink0",
"inputs": [
"RTSPSource0"
],
"assetName": "Sample Asset0"
}
]
}
}
},
"201": {
"body": {
"name": "SampleMediaGraph1",
"properties": {
"description": "",
"state": "Creating",
"provisioningState": "Creating",
"provisioningComment": "",
"created": "2020-01-29T22:46:28.4921266Z",
"lastModified": "2020-01-29T22:46:28.4921266Z",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "RTSPSource0",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphEndpoint",
"url": "rtsp://contoso.com:554/stream1",
"credentials": {
"@odata.type": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
"username": "exampleusername",
"password": "examplepassword"
}
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink0",
"inputs": [
"RTSPSource0"
],
"assetName": "Sample Asset0"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph",
"api-version": "2020-02-01-preview"
},
"responses": {
"204": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph1",
"api-version": "2020-02-01-preview"
},
"responses": {
"404": {},
"200": {
"body": {
"name": "SampleMediaGraph1",
"properties": {
"description": "",
"state": "Stopped",
"provisioningState": "Succeeded",
"provisioningComment": "",
"created": "2019-09-01T00:00:00Z",
"lastModified": "2019-09-01T00:00:00Z",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "RTSPSource1",
"transport": "http",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphClearEndpoint",
"url": "rtsp://contoso.com:554/stream1"
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink1",
"inputs": [
"RTSPSource1"
],
"assetName": "Sample Asset1"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,112 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"api-version": "2020-02-01-preview"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "SampleMediaGraph0",
"properties": {
"description": "",
"state": "Stopped",
"provisioningState": "Succeeded",
"provisioningComment": "",
"created": "2019-09-01T00:00:00Z",
"lastModified": "2019-09-01T00:00:00Z",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "RTSPSource0",
"transport": "http",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphClearEndpoint",
"url": "rtsp://contoso.com:554/stream0"
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink0",
"inputs": [
"RTSPSource0"
],
"assetName": "Sample Asset0"
}
]
}
},
{
"name": "SampleMediaGraph1",
"properties": {
"description": "",
"state": "Starting",
"provisioningState": "Succeeded",
"provisioningComment": "",
"created": "2019-09-01T00:00:00Z",
"lastModified": "2019-09-01T00:00:00Z",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "RTSPSource1",
"transport": "http",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphClearEndpoint",
"url": "rtsp://contoso.com:554/stream1"
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink1",
"inputs": [
"RTSPSource1"
],
"assetName": "Sample Asset1"
}
]
}
},
{
"name": "SampleMediaGraph2",
"properties": {
"description": "",
"state": "Running",
"provisioningState": "Succeeded",
"provisioningComment": "",
"created": "2019-09-01T00:00:00Z",
"lastModified": "2019-09-01T00:00:00Z",
"sources": [
{
"@odata.type": "#Microsoft.Media.MediaGraphRtspSource",
"name": "RTSPSource2",
"transport": "http",
"endpoint": {
"@odata.type": "#Microsoft.Media.MediaGraphClearEndpoint",
"url": "rtsp://contoso.com:554/stream2"
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink2",
"inputs": [
"RTSPSource2"
],
"assetName": "Sample Asset2"
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph",
"api-version": "2020-02-01-preview"
},
"responses": {
"202": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph",
"api-version": "2020-02-01-preview"
},
"responses": {
"202": {},
"200": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph",
"operationId": "7877d0da-ae9b-4c5b-a1fa-c9ece3ef5d11",
"api-version": "2020-02-01-preview"
},
"responses": {
"202": {},
"204": {}
}
}
18 changes: 18 additions & 0 deletions specification/mediaservices/resource-manager/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,23 @@ tag: package-2018-07
opt-in-extensible-enums: true
```

### Tag: package-2020-02-preview

These settings apply only when `--tag=package-2020-02-preview` is specified on the command line.

``` yaml $(tag) == 'package-2020-02-preview'
input-file:
- Microsoft.Media/stable/2018-07-01/AccountFilters.json
- Microsoft.Media/stable/2018-07-01/Accounts.json
- Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
- Microsoft.Media/stable/2018-07-01/ContentKeyPolicies.json
- Microsoft.Media/stable/2018-07-01/Encoding.json
- Microsoft.Media/preview/2020-02-01-preview/MediaGraphs.json
- Microsoft.Media/stable/2018-07-01/StreamingPoliciesAndStreamingLocators.json
- Microsoft.Media/stable/2018-07-01/streamingservice.json
```


### Tag: package-2019-09-preview

These settings apply only when `--tag=package-2019-09-preview` is specified on the command line.
Expand Down Expand Up @@ -303,6 +320,7 @@ require: $(this-folder)/../../../profiles/readme.md

# all the input files across all versions
input-file:
- $(this-folder)/Microsoft.Media/preview/2020-02-01-preview/MediaGraphs.json
- $(this-folder)/Microsoft.Media/stable/2018-07-01/AccountFilters.json
- $(this-folder)/Microsoft.Media/stable/2018-07-01/Accounts.json
- $(this-folder)/Microsoft.Media/stable/2018-07-01/AssetsAndAssetFilters.json
Expand Down