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

2020-02-01-preview for Media Services LVA #8281

Merged
merged 11 commits into from
Feb 24, 2020

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph",
"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.MediaGraphClearEndpoint",
"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",
"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": "SampleAsset1"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
{
"parameters": {
"subscriptionId": "00000000-0000-0000-0000-000000000000",
"resourceGroupName": "contoso",
"accountName": "contosomedia",
"mediaGraphName": "SampleMediaGraph",
"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.MediaGraphTlsEndpoint",
"url": "rtsps://contoso.com:443/stream1",
"credentials": {
"@odata.type": "#Microsoft.Media.MediaGraphUsernamePasswordCredentials",
"username": "exampleusername",
"password": "examplepassword"
},
"trustedCertificates": {
"@odata.type": "#Microsoft.Media.MediaGraphPemCertificateList",
"certificates": [
"-----BEGIN CERTIFICATE-----\nMIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTswDQYJKoZIhvcNAQEL\nBQAwUTESMBAGA1UECgwJTWljcm9zb2Z0MRQwEgYDVQQLDAtBenVyZSBNZWRpYTEl\nMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBDZXJ0aWZpY2F0ZTAgFw0yMDAyMDYy\nMTI5MTlaGA8zMDE5MDYwOTIxMjkxOVowUTESMBAGA1UECgwJTWljcm9zb2Z0MRQw\nEgYDVQQLDAtBenVyZSBNZWRpYTElMCMGA1UEAwwcKFVudHJ1c3RlZCkgVGVzdCBD\nZXJ0aWZpY2F0ZTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAK2lg5ff\n7xXPaBZXHl/zrTukdiBtu7BNIOchHba51eloruPRzpvQx7Pedk3CVTut7LYinijf\nuol0EwkQ2FLt2i2jOqiva9nXR95ujIZHcKsEeMC4RSNSP4++k6SpP8FgyYVdv5ru\nf8GC+HyYQ4j0TqpR/cJs53l/LGRSldaFZ6fcDde1jeyca4VivAbAH1/WDIOvmjzo\n9XIGxZ10VSS5l5+DIgdkJZ+mDMLJIuVZ0YVF16ZGEB3beq1trk5lItvmSjQLTllH\nqMFm9UGY8jKZSo/BY8ewHEtnGSAFQK0TVuRx1HhUWwu6C9jk+2zmRS2090BNpQWa\nJMKFJrSPzFDPRX8CAwEAAaNTMFEwHQYDVR0OBBYEFIumbhu0lYk0EFDThEg0yyIn\n/wZZMB8GA1UdIwQYMBaAFIumbhu0lYk0EFDThEg0yyIn/wZZMA8GA1UdEwEB/wQF\nMAMBAf8wDQYJKoZIhvcNAQELBQADggEBADUNw+/NGNVtigq9tMJKqlk39MTpDn1s\nZ1BVIAuAWSQjlevYZJeDIPUiWNWFhRe+xN7oOLnn2+NIXEKKeMSyuPoZYbN0mBkB\n99oS3XVipSANpmDvIepNdCrOnjfqDFIifRF1Dqjtb6i1hb6v/qYKVPLQvcrgGur7\nPKKkAu9p4YRZ3RBdwwaUuMgojrj/l6DGbeJY6IRVnVMY39rryMnZjA5xUlhCu55n\noB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB\nnECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=\n-----END CERTIFICATE-----"
]
microsoft-rin marked this conversation as resolved.
Show resolved Hide resolved
},
"validationOptions": {
"ignoreHostname": true,
"ignoreSignature": false
}
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink",
"inputs": [
"rtspSource"
],
"assetName": "SampleAsset"
}
]
}
}
},
"responses": {
"200": {
"body": {
"name": "SampleMediaGraph",
"properties": {
"description": "",
"state": "Stopped",
"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.MediaGraphTlsEndpoint",
"url": "rtsp://contoso.com:554/stream1",
"trustedCertificates": {
"@odata.type": "#Microsoft.Media.MediaGraphPemCertificateList",
"certificates": [
"-----BEGIN CERTIFICATE-----\nMIIDhTCCAm2gAwIBAgIUajvPKmoO+8qaO89/ZGATl7ZYnTsw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55n\noB3t/jsJLwnQN+JbAjLAeuqgOWtgARsEFzvpt+VvDsaj0YLOJPhyJwTvHgaa/slB\nnECzd3TuyFKYeGssSni/QQ1e7yZcLapQqz66g5otdriw0IRdOfDxm5M=\n-----END CERTIFICATE-----"
]
},
"validationOptions": {
"ignoreHostname": true,
"ignoreSignature": false
}
}
}
],
"sinks": [
{
"@odata.type": "#Microsoft.Media.MediaGraphAssetSink",
"name": "AssetSink1",
"inputs": [
"RTSPSource1"
],
"assetName": "SampleAsset1"
}
]
}
}
}
}
}
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,44 @@
{
"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",
"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": "SampleAsset1"
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"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",
"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": "SampleAsset0"
}
]
}
},
{
"name": "SampleMediaGraph1",
"properties": {
"description": "",
"state": "Starting",
"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": "SampleAsset1"
}
]
}
},
{
"name": "SampleMediaGraph2",
"properties": {
"description": "",
"state": "Running",
"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": "SampleAsset2"
}
]
}
}
]
}
}
}
}
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,15 @@
{
"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": {
"200": {
"body": {}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"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": {
"200": {
"body": {
"name": "7877d0da-ae9b-4c5b-a1fa-c9ece3ef5d11",
"status": "Succeeded"
}
}
}
}
Loading