{"openapi":"3.0.0","info":{"description":"Streaming resource management client for Azure Media Services","title":"Azure Media Services","version":"2019-05-01-preview","x-apisguru-categories":["cloud"],"x-logo":{"url":"https://assets.onestore.ms/cdnfiles/onestorerolling-1606-01000/shell/v3/images/logo/microsoft.png"},"x-origin":[{"format":"swagger","url":"https://raw.githubusercontent.com/Azure/azure-rest-api-specs/master/specification/mediaservices/resource-manager/Microsoft.Media/preview/2019-05-01-preview/streamingservice.json","version":"2.0"}],"x-preferred":true,"x-providerName":"azure.com","x-serviceName":"mediaservices-streamingservice","x-tags":["Azure","Microsoft"]},"paths":{"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents":{"get":{"description":"Lists the Live Events in the account.","operationId":"LiveEvents_List","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEventListResult"},"examples":{"List all LiveEvents":{"$ref":"#/components/examples/List_all_LiveEvents"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List Live Events","tags":["LiveEvents"],"x-ms-pageable":{"nextLinkName":"@odata.nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}":{"delete":{"description":"Deletes a Live Event.","operationId":"LiveEvents_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"204":{"description":"No content. The request has been accepted but the Live Event was not found."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Delete Live Event","tags":["LiveEvents"],"x-ms-long-running-operation":true},"get":{"description":"Gets a Live Event.","operationId":"LiveEvents_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEvent"},"examples":{"Get a LiveEvent by name":{"$ref":"#/components/examples/Get_a_LiveEvent_by_name"}}}}},"404":{"description":"NotFound"},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Get Live Event","tags":["LiveEvents"]},"patch":{"description":"Updates a existing Live Event.","operationId":"LiveEvents_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"$ref":"#/components/requestBodies/LiveEvent"},"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEvent"},"examples":{"Update a LiveEvent":{"$ref":"#/components/examples/Update_a_LiveEvent"}}}}},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEvent"},"examples":{"Update a LiveEvent":{"$ref":"#/components/examples/Update_a_LiveEvent"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"tags":["LiveEvents"],"x-ms-long-running-operation":true},"put":{"description":"Creates a Live Event.","operationId":"LiveEvents_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/StreamingResourceAutoStart"}],"requestBody":{"$ref":"#/components/requestBodies/LiveEvent"},"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEvent"},"examples":{"Create a LiveEvent":{"$ref":"#/components/examples/Create_a_LiveEvent"}}}}},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEvent"},"examples":{"Create a LiveEvent":{"$ref":"#/components/examples/Create_a_LiveEvent"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Create Live Event","tags":["LiveEvents"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs":{"get":{"description":"Lists the Live Outputs in the Live Event.","operationId":"LiveOutputs_List","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveOutputListResult"},"examples":{"List all LiveOutputs":{"$ref":"#/components/examples/List_all_LiveOutputs"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List Live Outputs","tags":["LiveOutputs"],"x-ms-pageable":{"nextLinkName":"@odata.nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}":{"delete":{"description":"Deletes a Live Output.","operationId":"LiveOutputs_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/LiveOutputName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"204":{"description":"No content. The request has been accepted but the Live Output was not found."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Delete Live Output","tags":["LiveOutputs"],"x-ms-long-running-operation":true},"get":{"description":"Gets a Live Output.","operationId":"LiveOutputs_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/LiveOutputName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveOutput"},"examples":{"Get a LiveOutput by name":{"$ref":"#/components/examples/Get_a_LiveOutput_by_name"}}}}},"404":{"description":"NotFound"},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Get Live Output","tags":["LiveOutputs"]},"put":{"description":"Creates a Live Output.","operationId":"LiveOutputs_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/LiveOutputName"},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveOutput"}}},"description":"Live Output properties needed for creation.","required":true},"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveOutput"},"examples":{"Create a LiveOutput":{"$ref":"#/components/examples/Create_a_LiveOutput"}}}}},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveOutput"},"examples":{"Create a LiveOutput":{"$ref":"#/components/examples/Create_a_LiveOutput"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Create Live Output","tags":["LiveOutputs"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/reset":{"post":{"description":"Resets an existing Live Event.","operationId":"LiveEvents_Reset","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Reset Live Event","tags":["LiveEvents"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/start":{"post":{"description":"Starts an existing Live Event.","operationId":"LiveEvents_Start","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Start Live Event","tags":["LiveEvents"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/stop":{"post":{"description":"Stops an existing Live Event.","operationId":"LiveEvents_Stop","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/LiveEventName"},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEventActionInput"}}},"description":"LiveEvent stop parameters","required":true},"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Stop Live Event","tags":["LiveEvents"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints":{"get":{"description":"Lists the StreamingEndpoints in the account.","operationId":"StreamingEndpoints_List","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpointListResult"},"examples":{"List all StreamingEndpoints":{"$ref":"#/components/examples/List_all_StreamingEndpoints"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"List StreamingEndpoints","tags":["StreamingEndpoints"],"x-ms-pageable":{"nextLinkName":"@odata.nextLink"}}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}":{"delete":{"description":"Deletes a StreamingEndpoint.","operationId":"StreamingEndpoints_Delete","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"204":{"description":"No content. The request has been accepted but the Streaming Endpoint was not found."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Delete StreamingEndpoint","tags":["StreamingEndpoints"],"x-ms-long-running-operation":true},"get":{"description":"Gets a StreamingEndpoint.","operationId":"StreamingEndpoints_Get","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpoint"},"examples":{"Get a StreamingEndpoint by name":{"$ref":"#/components/examples/Get_a_StreamingEndpoint_by_name"}}}}},"404":{"description":"NotFound"},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Get StreamingEndpoint","tags":["StreamingEndpoints"]},"patch":{"description":"Updates a existing StreamingEndpoint.","operationId":"StreamingEndpoints_Update","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"$ref":"#/components/requestBodies/StreamingEndpoint"},"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpoint"},"examples":{"Update a StreamingEndpoint":{"$ref":"#/components/examples/Update_a_StreamingEndpoint"}}}}},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpoint"},"examples":{"Update a StreamingEndpoint":{"$ref":"#/components/examples/Update_a_StreamingEndpoint"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Update StreamingEndpoint","tags":["StreamingEndpoint"],"x-ms-long-running-operation":true},"put":{"description":"Creates a StreamingEndpoint.","operationId":"StreamingEndpoints_Create","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"},{"$ref":"#/components/parameters/StreamingResourceAutoStart"}],"requestBody":{"$ref":"#/components/requestBodies/StreamingEndpoint"},"responses":{"200":{"description":"OK. The request has succeeded.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpoint"},"examples":{"Create a StreamingEndpoint":{"$ref":"#/components/examples/Create_a_StreamingEndpoint"}}}}},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpoint"},"examples":{"Create a StreamingEndpoint":{"$ref":"#/components/examples/Create_a_StreamingEndpoint"}}}}},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Create StreamingEndpoint","tags":["StreamingEndpoints"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/scale":{"post":{"description":"Scales an existing StreamingEndpoint.","operationId":"StreamingEndpoints_Scale","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"}],"requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEntityScaleUnit"}}},"description":"StreamingEndpoint scale parameters","required":true},"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Scale StreamingEndpoint","tags":["StreamingEndpoints"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/start":{"post":{"description":"Starts an existing StreamingEndpoint.","operationId":"StreamingEndpoints_Start","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Start StreamingEndpoint","tags":["StreamingEndpoints"],"x-ms-long-running-operation":true}},"/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/streamingEndpoints/{streamingEndpointName}/stop":{"post":{"description":"Stops an existing StreamingEndpoint.","operationId":"StreamingEndpoints_Stop","parameters":[{"$ref":"#/components/parameters/SubscriptionId"},{"$ref":"#/components/parameters/ResourceGroupName"},{"$ref":"#/components/parameters/MediaServicesAccountName"},{"$ref":"#/components/parameters/StreamingEndpointName"},{"$ref":"#/components/parameters/ApiVersion"}],"responses":{"200":{"description":"OK. The request has succeeded."},"202":{"description":"Accepted. The request has been accepted for processing and the operation will complete asynchronously. See https://go.microsoft.com/fwlink/?linkid=2087017 for details on the monitoring asynchronous Azure Operations."},"default":{"description":"The streaming error response describing why the operation failed.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiError"}}}}},"summary":"Stop StreamingEndpoint","tags":["StreamingEndpoints"],"x-ms-long-running-operation":true}}},"servers":[{"url":"https://management.azure.com"}],"components":{"examples":{"List_all_LiveEvents":{"value":{"value":[{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1","location":"West US","name":"myLiveEvent1","properties":{"created":"2018-03-03T02:25:08.5564064Z","crossSiteAccessPolicies":{},"description":"test event 1","encoding":{"encodingType":"None"},"input":{"accessToken":"de153bb0814542d9b7e2339ce9430dc4","endpoints":[{"protocol":"FragmentedMP4","url":"http://clouddeployment.media-test.net/de153bb0814542d9b7e2339ce9430dc4/ingest.isml"}],"keyFrameIntervalDuration":"PT6S","streamingProtocol":"FragmentedMP4"},"lastModified":"2018-03-03T02:25:08.5564064Z","preview":{"accessControl":{"ip":{"allow":[{"address":"0.0.0.0","name":"AllowAll"}]}},"endpoints":[{"protocol":"FragmentedMP4","url":"https://myliveevent1-slitestmedia10.preview-usso.channel.mediaservices.windows.net/a220e223-faf8-4e03-b9a9-2c2432f48025/preview.ism/manifest"}],"previewLocator":"a220e223-faf8-4e03-b9a9-2c2432f48025"},"provisioningState":"Succeeded","resourceState":"Stopped","streamOptions":[],"vanityUrl":false},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.Media/mediaservices/liveevents"}]}},"Get_a_LiveEvent_by_name":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1","location":"West US","name":"myLiveEvent1","properties":{"created":"2018-03-03T02:25:08.3474032Z","crossSiteAccessPolicies":{"clientAccessPolicy":"<access-policy><cross-domain-access><policy><allow-from http-methods=\"*\"><domain uri=\"http://*\"/></allow-from><grant-to><resource path=\"/\" include-subpaths=\"true\"/></grant-to></policy></cross-domain-access></access-policy>","crossDomainPolicy":"<cross-domain-policy><allow-access-from domain=\"*\" secure=\"false\" /></cross-domain-policy>"},"description":"","encoding":{"encodingType":"None"},"input":{"endpoints":[{"protocol":"FragmentedMP4","url":"http://clouddeployment.media-test.net/ingest.isml"}],"keyFrameIntervalDuration":"PT6S","streamingProtocol":"FragmentedMP4"},"lastModified":"2018-03-03T02:25:08.3474032Z","preview":{"accessControl":{"ip":{"allow":[{"address":"0.0.0.0","name":"AllowAll","subnetPrefixLength":0}]}},"endpoints":[{"protocol":"FragmentedMP4","url":"https://testeventopito4idh2r-weibzmedia05.preview-ts051.channel.media-test.windows-int.net/763f3ea4-d94f-441c-a634-c833f61a4e04/preview.ism/manifest"}],"previewLocator":"763f3ea4-d94f-441c-a634-c833f61a4e04"},"provisioningState":"Succeeded","resourceState":"Stopped","streamOptions":["Default"],"vanityUrl":false},"tags":{},"type":"Microsoft.Media/mediaservices/liveevents"}},"Update_a_LiveEvent":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1","location":"West US","name":"myLiveEvent1","properties":{"created":"0001-01-01T00:00:00Z","description":"test event updated","encoding":{"encodingType":"None"},"input":{"accessToken":"c638baac3195406a84d7ff3bcba8bde4","endpoints":[],"keyFrameIntervalDuration":"PT6S","streamingProtocol":"FragmentedMP4"},"lastModified":"0001-01-01T00:00:00Z","preview":{"accessControl":{"ip":{"allow":[{"address":"192.1.1.0","name":"AllowOne"}]}},"endpoints":[],"previewLocator":"c10ea3fc-587f-4daf-b2b2-fa8f647a9ed2"},"provisioningState":"InProgress","resourceState":"Running","streamOptions":[],"vanityUrl":false},"tags":{"tag1":"value1","tag2":"value2","tag3":"value3"},"type":"Microsoft.Media/mediaservices/liveevents"}},"Create_a_LiveEvent":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1","location":"West US","name":"myLiveEvent1","properties":{"created":"2018-03-03T02:25:06.0982751Z","crossSiteAccessPolicies":{},"description":"test event 1","encoding":{"encodingType":"None"},"input":{"accessToken":"0abf356884d74b4aacbd7b1ebd3da0f7","endpoints":[],"keyFrameIntervalDuration":"PT6S","streamingProtocol":"FragmentedMP4"},"lastModified":"2018-03-03T02:25:06.0982751Z","preview":{"accessControl":{"ip":{"allow":[{"address":"0.0.0.0","name":"AllowAll"}]}},"endpoints":[],"previewLocator":"c91726b4-880c-4090-94aa-e6ddb1384b37"},"provisioningState":"InProgress","resourceState":"Stopped","streamOptions":[],"vanityUrl":false},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.Media/mediaservices/liveevents"}},"List_all_LiveOutputs":{"value":{"value":[{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/","name":"liveoutput1","properties":{"archiveWindowLength":"PT30S","assetName":"95dafce4-5320-464c-8597-909373854119","created":"0001-01-01T00:00:00-08:00","hls":{"fragmentsPerTsSegment":5},"lastModified":"0001-01-01T00:00:00-08:00","manifestName":"c3a23d4b-02a6-4937-a1ad-6416f463fdca","outputSnapTime":0,"provisioningState":"Succeeded","resourceState":"Running"},"type":"Microsoft.Media/mediaservices/liveevents/liveoutputs"}]}},"Get_a_LiveOutput_by_name":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1","name":"myLiveOutput1","properties":{"archiveWindowLength":"PT30S","assetName":"cb2ae0bc-677a-4830-9c8e-06ce4c4cb607","created":"0001-01-01T00:00:00-08:00","hls":{"fragmentsPerTsSegment":5},"lastModified":"0001-01-01T00:00:00-08:00","manifestName":"fc7096f5-c488-4b86-8302-f3bfde53fc27","outputSnapTime":0,"provisioningState":"Succeeded","resourceState":"Running"},"type":"Microsoft.Media/mediaservices/liveevents/liveoutputs"}},"Create_a_LiveOutput":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1","name":"myLiveOutput1","properties":{"archiveWindowLength":"PT5M","assetName":"6f3264f5-a189-48b4-a29a-a40f22575212","created":"2018-03-03T02:25:09.9431835Z","description":"test live output 1","hls":{"fragmentsPerTsSegment":5},"lastModified":"2018-03-03T02:25:09.9431835Z","manifestName":"testmanifest","outputSnapTime":0,"provisioningState":"Succeeded","resourceState":"Creating"},"type":"Microsoft.Media/mediaservices/liveevents/liveoutputs"}},"List_all_StreamingEndpoints":{"value":{"value":[{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1","location":"West US","name":"myStreamingEndpoint1","properties":{"availabilitySetName":"availableset","cdnEnabled":false,"cdnProfile":"","created":"2018-03-03T02:25:09.202013Z","customHostNames":[],"description":"test event 1","freeTrialEndTime":"0001-01-01T08:00:00Z","hostName":"mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net","lastModified":"2018-03-03T02:25:09.202013Z","provisioningState":"Succeeded","resourceState":"Stopped","scaleUnits":1},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.Media/mediaservices/streamingEndpoints"},{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/default","location":"West US","name":"default","properties":{"cdnEnabled":true,"cdnProfile":"AzureMediaStreamingPlatformCdnProfile-StandardVerizon","cdnProvider":"StandardVerizon","created":"2018-03-03T02:25:09.2310128Z","customHostNames":[],"description":"","freeTrialEndTime":"0001-01-01T00:00:00-08:00","hostName":"slitestmedia10.streaming.mediaservices.windows.net","lastModified":"2018-03-03T02:25:09.2310128Z","provisioningState":"InProgress","resourceState":"Starting","scaleUnits":0},"tags":{},"type":"Microsoft.Media/mediaservices/streamingEndpoints"}]}},"Get_a_StreamingEndpoint_by_name":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1","location":"West US","name":"myStreamingEndpoint1","properties":{"availabilitySetName":"availableset","cdnEnabled":false,"cdnProfile":"","created":"2018-03-03T02:25:09.3500423Z","customHostNames":[],"description":"test event 1","freeTrialEndTime":"0001-01-01T08:00:00Z","hostName":"mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net","lastModified":"2018-03-03T02:25:09.3500423Z","provisioningState":"Succeeded","resourceState":"Stopped","scaleUnits":1},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.Media/mediaservices/streamingEndpoints"}},"Update_a_StreamingEndpoint":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1","location":"West US","name":"myStreamingEndpoint1","properties":{"availabilitySetName":"availableset","cdnEnabled":false,"created":"0001-01-01T00:00:00Z","customHostNames":[],"description":"test event 2","freeTrialEndTime":"0001-01-01T00:00:00Z","lastModified":"0001-01-01T00:00:00Z","provisioningState":"Succeeded","scaleUnits":5},"tags":{"tag3":"value3","tag5":"value5"},"type":"Microsoft.Media/mediaservices/streamingEndpoints"}},"Create_a_StreamingEndpoint":{"value":{"id":"/subscriptions/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/streamingendpoints/myStreamingEndpoint1","location":"West US","name":"myStreamingEndpoint1","properties":{"accessControl":{"akamai":{"akamaiSignatureHeaderAuthenticationKeyList":[{"base64Key":"dGVzdGlkMQ==","expiration":"2030-01-01T00:00:00Z","identifier":"id1"},{"base64Key":"dGVzdGlkMQ==","expiration":"2031-01-01T00:00:00Z","identifier":"id2"}]},"ip":{"allow":[{"address":"192.168.1.1","name":"AllowedIp"}]}},"availabilitySetName":"availableset","cdnEnabled":false,"cdnProfile":"","created":"2018-03-03T02:25:09.7561389Z","customHostNames":[],"description":"test event 1","freeTrialEndTime":"0001-01-01T00:00:00-08:00","hostName":"mystreamingendpoint1-slitestmedia10.streaming.mediaservices.windows.net","lastModified":"2018-03-03T02:25:09.7561389Z","provisioningState":"InProgress","resourceState":"Stopped","scaleUnits":1},"tags":{"tag1":"value1","tag2":"value2"},"type":"Microsoft.Media/mediaservices/streamingEndpoints"}}},"parameters":{"ApiVersion":{"description":"The Version of the API to be used with the client request.","in":"query","name":"api-version","required":true,"schema":{"type":"string"},"examples":{"List all LiveEvents":{"value":"2018-07-01"},"Delete a LiveEvent":{"value":"2018-07-01"},"Get a LiveEvent by name":{"value":"2018-07-01"},"Update a LiveEvent":{"value":"2019-05-01-preview"},"Create a LiveEvent":{"value":"2018-07-01"},"List all LiveOutputs":{"value":"2018-07-01"},"Delete a LiveOutput":{"value":"2018-07-01"},"Get a LiveOutput by name":{"value":"2018-07-01"},"Create a LiveOutput":{"value":"2018-07-01"},"Reset a LiveEvent":{"value":"2018-07-01"},"Start a LiveEvent":{"value":"2018-07-01"},"Stop a LiveEvent":{"value":"2018-07-01"},"List all StreamingEndpoints":{"value":"2018-07-01"},"Delete a StreamingEndpoint":{"value":"2018-07-01"},"Get a StreamingEndpoint by name":{"value":"2018-07-01"},"Update a StreamingEndpoint":{"value":"2018-07-01"},"Create a StreamingEndpoint":{"value":"2019-05-01-preview"},"Scale a StreamingEndpoint":{"value":"2018-07-01"},"Start a StreamingEndpoint":{"value":"2018-07-01"},"Stop a StreamingEndpoint":{"value":"2018-07-01"}}},"LiveEventName":{"description":"The name of the Live Event.","in":"path","name":"liveEventName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":32,"pattern":"^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$"},"examples":{"Delete a LiveEvent":{"value":"myLiveEvent1"},"Get a LiveEvent by name":{"value":"myLiveEvent1"},"Update a LiveEvent":{"value":"myLiveEvent1"},"Create a LiveEvent":{"value":"myLiveEvent1"},"List all LiveOutputs":{"value":"myLiveEvent1"},"Delete a LiveOutput":{"value":"myLiveEvent1"},"Get a LiveOutput by name":{"value":"myLiveEvent1"},"Create a LiveOutput":{"value":"myLiveEvent1"},"Reset a LiveEvent":{"value":"myLiveEvent1"},"Start a LiveEvent":{"value":"myLiveEvent1"},"Stop a LiveEvent":{"value":"myLiveEvent1"}}},"LiveOutputName":{"description":"The name of the Live Output.","in":"path","name":"liveOutputName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":256,"pattern":"^([a-zA-Z0-9])+(-*[a-zA-Z0-9])*$"},"examples":{"Delete a LiveOutput":{"value":"myLiveOutput1"},"Get a LiveOutput by name":{"value":"myLiveOutput1"},"Create a LiveOutput":{"value":"myLiveOutput1"}}},"MediaServicesAccountName":{"description":"The Media Services account name.","in":"path","name":"accountName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List all LiveEvents":{"value":"slitestmedia10"},"Delete a LiveEvent":{"value":"slitestmedia10"},"Get a LiveEvent by name":{"value":"slitestmedia10"},"Update a LiveEvent":{"value":"slitestmedia10"},"Create a LiveEvent":{"value":"slitestmedia10"},"List all LiveOutputs":{"value":"slitestmedia10"},"Delete a LiveOutput":{"value":"slitestmedia10"},"Get a LiveOutput by name":{"value":"slitestmedia10"},"Create a LiveOutput":{"value":"slitestmedia10"},"Reset a LiveEvent":{"value":"slitestmedia10"},"Start a LiveEvent":{"value":"slitestmedia10"},"Stop a LiveEvent":{"value":"slitestmedia10"},"List all StreamingEndpoints":{"value":"slitestmedia10"},"Delete a StreamingEndpoint":{"value":"slitestmedia10"},"Get a StreamingEndpoint by name":{"value":"slitestmedia10"},"Update a StreamingEndpoint":{"value":"slitestmedia10"},"Create a StreamingEndpoint":{"value":"slitestmedia10"},"Scale a StreamingEndpoint":{"value":"slitestmedia10"},"Start a StreamingEndpoint":{"value":"slitestmedia10"},"Stop a StreamingEndpoint":{"value":"slitestmedia10"}}},"ResourceGroupName":{"description":"The name of the resource group within the Azure subscription.","in":"path","name":"resourceGroupName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string"},"examples":{"List all LiveEvents":{"value":"mediaresources"},"Delete a LiveEvent":{"value":"mediaresources"},"Get a LiveEvent by name":{"value":"mediaresources"},"Update a LiveEvent":{"value":"mediaresources"},"Create a LiveEvent":{"value":"mediaresources"},"List all LiveOutputs":{"value":"mediaresources"},"Delete a LiveOutput":{"value":"mediaresources"},"Get a LiveOutput by name":{"value":"mediaresources"},"Create a LiveOutput":{"value":"mediaresources"},"Reset a LiveEvent":{"value":"mediaresources"},"Start a LiveEvent":{"value":"mediaresources"},"Stop a LiveEvent":{"value":"mediaresources"},"List all StreamingEndpoints":{"value":"mediaresources"},"Delete a StreamingEndpoint":{"value":"mediaresources"},"Get a StreamingEndpoint by name":{"value":"mediaresources"},"Update a StreamingEndpoint":{"value":"mediaresources"},"Create a StreamingEndpoint":{"value":"mediaresources"},"Scale a StreamingEndpoint":{"value":"mediaresources"},"Start a StreamingEndpoint":{"value":"mediaresources"},"Stop a StreamingEndpoint":{"value":"mediaresources"}}},"StreamingEndpointName":{"description":"The name of the StreamingEndpoint.","in":"path","name":"streamingEndpointName","required":true,"x-ms-parameter-location":"method","schema":{"type":"string","minLength":1,"maxLength":24,"pattern":"^[a-zA-Z0-9]+(-*[a-zA-Z0-9])*$"},"examples":{"Delete a StreamingEndpoint":{"value":"myStreamingEndpoint1"},"Get a StreamingEndpoint by name":{"value":"myStreamingEndpoint1"},"Update a StreamingEndpoint":{"value":"myStreamingEndpoint1"},"Create a StreamingEndpoint":{"value":"myStreamingEndpoint1"},"Scale a StreamingEndpoint":{"value":"myStreamingEndpoint1"},"Start a StreamingEndpoint":{"value":"myStreamingEndpoint1"},"Stop a StreamingEndpoint":{"value":"myStreamingEndpoint1"}}},"StreamingResourceAutoStart":{"description":"The flag indicates if the resource should be automatically started on creation.","in":"query","name":"autoStart","required":false,"x-ms-parameter-location":"method","schema":{"type":"boolean"}},"SubscriptionId":{"description":"The unique identifier for a Microsoft Azure subscription.","in":"path","name":"subscriptionId","required":true,"schema":{"type":"string"},"examples":{"List all LiveEvents":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Delete a LiveEvent":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Get a LiveEvent by name":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Update a LiveEvent":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Create a LiveEvent":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"List all LiveOutputs":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Delete a LiveOutput":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Get a LiveOutput by name":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Create a LiveOutput":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Reset a LiveEvent":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Start a LiveEvent":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Stop a LiveEvent":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"List all StreamingEndpoints":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Delete a StreamingEndpoint":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Get a StreamingEndpoint by name":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Update a StreamingEndpoint":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Create a StreamingEndpoint":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Scale a StreamingEndpoint":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Start a StreamingEndpoint":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"},"Stop a StreamingEndpoint":{"value":"0a6ec948-5a62-437d-b9df-934dc7c1b722"}}}},"requestBodies":{"LiveEvent":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveEvent"}}},"description":"Live Event properties needed for creation.","required":true},"StreamingEndpoint":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamingEndpoint"}}},"description":"StreamingEndpoint properties needed for creation.","required":true}},"securitySchemes":{"azure_auth":{"description":"Azure Active Directory OAuth2 Flow","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://login.microsoftonline.com/common/oauth2/authorize","scopes":{"user_impersonation":"Impersonate your user account"}}}}},"schemas":{"AkamaiAccessControl":{"description":"Akamai access control","properties":{"akamaiSignatureHeaderAuthenticationKeyList":{"description":"authentication key list","items":{"$ref":"#/components/schemas/AkamaiSignatureHeaderAuthenticationKey"},"type":"array"}}},"AkamaiSignatureHeaderAuthenticationKey":{"description":"Akamai Signature Header authentication key.","properties":{"base64Key":{"description":"authentication key","type":"string"},"expiration":{"description":"The expiration time of the authentication key.","format":"date-time","type":"string"},"identifier":{"description":"identifier of the key","type":"string"}}},"ApiError":{"description":"The API error.","properties":{"error":{"$ref":"#/components/schemas/ODataError"}},"type":"object"},"CrossSiteAccessPolicies":{"description":"The client access policy.","properties":{"clientAccessPolicy":{"description":"The content of clientaccesspolicy.xml used by Silverlight.","type":"string"},"crossDomainPolicy":{"description":"The content of crossdomain.xml used by Silverlight.","type":"string"}}},"Hls":{"description":"The HLS configuration.","properties":{"fragmentsPerTsSegment":{"description":"The amount of fragments per HTTP Live Streaming (HLS) segment.","format":"int32","type":"integer"}}},"IPAccessControl":{"description":"The IP access control.","properties":{"allow":{"description":"The IP allow list.","items":{"$ref":"#/components/schemas/IPRange"},"type":"array"}}},"IPRange":{"description":"The IP address range in the CIDR scheme.","properties":{"address":{"description":"The IP address.","type":"string"},"name":{"description":"The friendly name for the IP address range.","type":"string"},"subnetPrefixLength":{"description":"The subnet mask prefix length (see CIDR notation).","format":"int32","type":"integer"}}},"LiveEvent":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources.","properties":{"id":{"description":"Fully qualified resource ID for the resource.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM tracked resource.","properties":{"location":{"description":"The Azure Region of the resource.","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object","x-ms-mutability":["read","create","update"]}}}],"description":"The Live Event.","properties":{"properties":{"$ref":"#/components/schemas/LiveEventProperties"}}},"LiveEventActionInput":{"description":"The LiveEvent action input parameter definition.","properties":{"removeOutputsOnStop":{"description":"The flag indicates if remove LiveOutputs on Stop.","type":"boolean"}}},"LiveEventEncoding":{"description":"The Live Event encoding.","properties":{"encodingType":{"description":"The encoding type for Live Event.  This value is specified at creation time and cannot be updated.","enum":["None","Basic","Standard","Premium1080p"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"LiveEventEncodingType"}},"presetName":{"description":"The encoding preset name.  This value is specified at creation time and cannot be updated.","type":"string"}}},"LiveEventEndpoint":{"description":"The Live Event endpoint.","properties":{"protocol":{"description":"The endpoint protocol.","type":"string"},"url":{"description":"The endpoint URL.","type":"string"}}},"LiveEventInput":{"description":"The Live Event input.","properties":{"accessControl":{"$ref":"#/components/schemas/LiveEventInputAccessControl"},"accessToken":{"description":"A unique identifier for a stream.  This can be specified at creation time but cannot be updated.  If omitted, the service will generate a unique value.","type":"string"},"endpoints":{"description":"The input endpoints for the Live Event.","items":{"$ref":"#/components/schemas/LiveEventEndpoint"},"type":"array"},"keyFrameIntervalDuration":{"description":"ISO 8601 timespan duration of the key frame interval duration.","type":"string"},"streamingProtocol":{"description":"The streaming protocol for the Live Event.  This is specified at creation time and cannot be updated.","enum":["FragmentedMP4","RTMP"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"LiveEventInputProtocol"}}},"required":["streamingProtocol"]},"LiveEventInputAccessControl":{"description":"The IP access control for Live Event Input.","properties":{"ip":{"$ref":"#/components/schemas/IPAccessControl"}}},"LiveEventInputTrackSelection":{"description":"A track selection condition.","properties":{"operation":{"description":"Comparing operation.","type":"string"},"property":{"description":"Property name to select.","type":"string"},"value":{"description":"Property value to select.","type":"string"}}},"LiveEventListResult":{"description":"The LiveEvent list result.","properties":{"@odata.count":{"description":"The number of result.","format":"int32","type":"integer"},"@odata.nextLink":{"description":"Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs.","type":"string"},"value":{"description":"The result of the List Live Event operation.","items":{"$ref":"#/components/schemas/LiveEvent"},"type":"array"}},"title":"LiveEventListResult"},"LiveEventOutputTranscriptionTrack":{"description":"Describes a transcription track in the output of a Live Event, generated using speech-to-text transcription.","properties":{"trackName":{"description":"The output track name.","type":"string"}},"required":["trackName"]},"LiveEventPreview":{"description":"The Live Event preview.","properties":{"accessControl":{"$ref":"#/components/schemas/LiveEventPreviewAccessControl"},"alternativeMediaId":{"description":"An Alternative Media Identifier associated with the StreamingLocator created for the preview.  This value is specified at creation time and cannot be updated.  The identifier can be used in the CustomLicenseAcquisitionUrlTemplate or the CustomKeyAcquisitionUrlTemplate of the StreamingPolicy specified in the StreamingPolicyName field.","type":"string"},"endpoints":{"description":"The endpoints for preview.","items":{"$ref":"#/components/schemas/LiveEventEndpoint"},"type":"array"},"previewLocator":{"description":"The identifier of the preview locator in Guid format.  Specifying this at creation time allows the caller to know the preview locator url before the event is created.  If omitted, the service will generate a random identifier.  This value cannot be updated once the live event is created.","type":"string"},"streamingPolicyName":{"description":"The name of streaming policy used for the LiveEvent preview.  This value is specified at creation time and cannot be updated.","type":"string"}}},"LiveEventPreviewAccessControl":{"description":"The IP access control for Live Event preview.","properties":{"ip":{"$ref":"#/components/schemas/IPAccessControl"}}},"LiveEventProperties":{"description":"The Live Event properties.","properties":{"created":{"description":"The exact time the Live Event was created.","format":"date-time","readOnly":true,"type":"string"},"crossSiteAccessPolicies":{"$ref":"#/components/schemas/CrossSiteAccessPolicies"},"description":{"description":"The Live Event description.","type":"string"},"encoding":{"$ref":"#/components/schemas/LiveEventEncoding"},"input":{"$ref":"#/components/schemas/LiveEventInput"},"lastModified":{"description":"The exact time the Live Event was last modified.","format":"date-time","readOnly":true,"type":"string"},"preview":{"$ref":"#/components/schemas/LiveEventPreview"},"provisioningState":{"description":"The provisioning state of the Live Event.","readOnly":true,"type":"string"},"resourceState":{"description":"The resource state of the Live Event.","enum":["Stopped","Starting","Running","Stopping","Deleting"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"LiveEventResourceState"}},"streamOptions":{"description":"The options to use for the LiveEvent.  This value is specified at creation time and cannot be updated.","items":{"enum":["Default","LowLatency"],"type":"string","x-ms-enum":{"modelAsString":true,"name":"StreamOptionsFlag"}},"type":"array"},"transcriptions":{"description":"The Live Event transcription.","items":{"$ref":"#/components/schemas/LiveEventTranscription"},"type":"array"},"vanityUrl":{"description":"Specifies whether to use a vanity url with the Live Event.  This value is specified at creation time and cannot be updated.","type":"boolean"}},"required":["input"]},"LiveEventTranscription":{"description":"Describes the transcription tracks in the output of a Live Event, generated using speech-to-text transcription.","properties":{"inputTrackSelection":{"description":"Provides a mechanism to select the audio track in the input live feed, to which speech-to-text transcription is applied.","items":{"$ref":"#/components/schemas/LiveEventInputTrackSelection"},"type":"array"},"language":{"description":"Specifies the language (locale) used for speech-to-text transcription � it should match the spoken language in the audio track. The value should be in BCP-47 format of 'language tag-region' (e.g: 'en-US'). The list of supported languages are 'en-US' and 'en-GB'.","type":"string"},"outputTranscriptionTrack":{"$ref":"#/components/schemas/LiveEventOutputTranscriptionTrack"}}},"LiveOutput":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources.","properties":{"id":{"description":"Fully qualified resource ID for the resource.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM proxy resource."}],"description":"The Live Output.","properties":{"properties":{"$ref":"#/components/schemas/LiveOutputProperties"}}},"LiveOutputListResult":{"description":"The LiveOutput list result.","properties":{"@odata.count":{"description":"The number of result.","format":"int32","type":"integer"},"@odata.nextLink":{"description":"Th link to the next set of results. Not empty if value contains incomplete list of Live Outputs.","type":"string"},"value":{"description":"The result of the List Live Output operation.","items":{"$ref":"#/components/schemas/LiveOutput"},"type":"array"}},"title":"LiveOutputListResult"},"LiveOutputProperties":{"description":"The JSON object that contains the properties required to create a Live Output.","properties":{"archiveWindowLength":{"description":"ISO 8601 timespan duration of the archive window length. This is duration that customer want to retain the recorded content.","format":"duration","type":"string"},"assetName":{"description":"The asset name.","type":"string"},"created":{"description":"The exact time the Live Output was created.","format":"date-time","readOnly":true,"type":"string"},"description":{"description":"The description of the Live Output.","type":"string"},"hls":{"$ref":"#/components/schemas/Hls"},"lastModified":{"description":"The exact time the Live Output was last modified.","format":"date-time","readOnly":true,"type":"string"},"manifestName":{"description":"The manifest file name.  If not provided, the service will generate one automatically.","type":"string"},"outputSnapTime":{"description":"The output snapshot time.","format":"int64","type":"integer"},"provisioningState":{"description":"The provisioning state of the Live Output.","readOnly":true,"type":"string"},"resourceState":{"description":"The resource state of the Live Output.","enum":["Creating","Running","Deleting"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"LiveOutputResourceState"}}},"required":["assetName","archiveWindowLength"]},"ODataError":{"description":"Information about an error.","properties":{"code":{"description":"A language-independent error name.","type":"string"},"details":{"description":"The error details.","items":{"$ref":"#/components/schemas/ODataError"},"type":"array"},"message":{"description":"The error message.","type":"string"},"target":{"description":"The target of the error (for example, the name of the property in error).","type":"string"}},"type":"object"},"StreamingEndpoint":{"allOf":[{"allOf":[{"description":"The core properties of ARM resources.","properties":{"id":{"description":"Fully qualified resource ID for the resource.","readOnly":true,"type":"string"},"name":{"description":"The name of the resource.","readOnly":true,"type":"string"},"type":{"description":"The type of the resource.","readOnly":true,"type":"string"}},"x-ms-azure-resource":true}],"description":"The resource model definition for a ARM tracked resource.","properties":{"location":{"description":"The Azure Region of the resource.","type":"string","x-ms-mutability":["read","create"]},"tags":{"additionalProperties":{"type":"string"},"description":"Resource tags.","type":"object","x-ms-mutability":["read","create","update"]}}}],"description":"The StreamingEndpoint.","properties":{"properties":{"$ref":"#/components/schemas/StreamingEndpointProperties"}}},"StreamingEndpointAccessControl":{"description":"StreamingEndpoint access control definition.","properties":{"akamai":{"$ref":"#/components/schemas/AkamaiAccessControl"},"ip":{"$ref":"#/components/schemas/IPAccessControl"}}},"StreamingEndpointListResult":{"description":"The StreamingEndpoint list result.","properties":{"@odata.count":{"description":"The number of result.","format":"int32","type":"integer"},"@odata.nextLink":{"description":"Th link to the next set of results. Not empty if value contains incomplete list of StreamingEndpoints.","type":"string"},"value":{"description":"The result of the List StreamingEndpoint operation.","items":{"$ref":"#/components/schemas/StreamingEndpoint"},"type":"array"}},"title":"StreamingEndpointListResult"},"StreamingEndpointProperties":{"description":"The StreamingEndpoint properties.","properties":{"accessControl":{"$ref":"#/components/schemas/StreamingEndpointAccessControl"},"availabilitySetName":{"description":"The name of the AvailabilitySet used with this StreamingEndpoint for high availability streaming.  This value can only be set at creation time.","type":"string"},"cdnEnabled":{"description":"The CDN enabled flag.","type":"boolean"},"cdnProfile":{"description":"The CDN profile name.","type":"string"},"cdnProvider":{"description":"The CDN provider name.","type":"string"},"created":{"description":"The exact time the StreamingEndpoint was created.","format":"date-time","readOnly":true,"type":"string"},"crossSiteAccessPolicies":{"$ref":"#/components/schemas/CrossSiteAccessPolicies"},"customHostNames":{"description":"The custom host names of the StreamingEndpoint","items":{"description":"custom host name","type":"string"},"type":"array"},"description":{"description":"The StreamingEndpoint description.","type":"string"},"freeTrialEndTime":{"description":"The free trial expiration time.","format":"date-time","readOnly":true,"type":"string"},"hostName":{"description":"The StreamingEndpoint host name.","readOnly":true,"type":"string"},"lastModified":{"description":"The exact time the StreamingEndpoint was last modified.","format":"date-time","readOnly":true,"type":"string"},"maxCacheAge":{"description":"Max cache age","format":"int64","type":"integer"},"provisioningState":{"description":"The provisioning state of the StreamingEndpoint.","readOnly":true,"type":"string"},"resourceState":{"description":"The resource state of the StreamingEndpoint.","enum":["Stopped","Starting","Running","Stopping","Deleting","Scaling"],"readOnly":true,"type":"string","x-ms-enum":{"modelAsString":true,"name":"StreamingEndpointResourceState"}},"scaleUnits":{"description":"The number of scale units.  Use the Scale operation to adjust this value.","format":"int32","type":"integer"}},"required":["scaleUnits"]},"StreamingEntityScaleUnit":{"description":"scale units definition","properties":{"scaleUnit":{"description":"The scale unit number of the StreamingEndpoint.","format":"int32","type":"integer"}}}}}}