Skip to main content

live_outputs

Creates, updates, deletes, gets or lists a live_outputs resource.

Overview

Namelive_outputs
TypeResource
Idazure.media_services.live_outputs

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
accountNametextfield from the properties object
archive_window_lengthtextfield from the properties object
asset_nametextfield from the properties object
createdtextfield from the properties object
hlstextfield from the properties object
last_modifiedtextfield from the properties object
liveEventNametextfield from the properties object
liveOutputNametextfield from the properties object
manifest_nametextfield from the properties object
output_snap_timetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_statetextfield from the properties object
rewind_window_lengthtextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, liveEventName, liveOutputName, resourceGroupName, subscriptionIdGets a live output.
listSELECTaccountName, liveEventName, resourceGroupName, subscriptionIdLists the live outputs of a live event.
createINSERTaccountName, liveEventName, liveOutputName, resourceGroupName, subscriptionIdCreates a new live output.
deleteDELETEaccountName, liveEventName, liveOutputName, resourceGroupName, subscriptionIdDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
async_operationEXECaccountName, operationId, resourceGroupName, subscriptionIdGet a Live Output operation status.
operation_locationEXECaccountName, liveEventName, liveOutputName, operationId, resourceGroupName, subscriptionIdGet a Live Output operation status.

SELECT examples

Lists the live outputs of a live event.

SELECT
description,
accountName,
archive_window_length,
asset_name,
created,
hls,
last_modified,
liveEventName,
liveOutputName,
manifest_name,
output_snap_time,
provisioning_state,
resourceGroupName,
resource_state,
rewind_window_length,
subscriptionId,
system_data
FROM azure.media_services.vw_live_outputs
WHERE accountName = '{{ accountName }}'
AND liveEventName = '{{ liveEventName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

Use the following StackQL query and manifest file to create a new live_outputs resource.

/*+ create */
INSERT INTO azure.media_services.live_outputs (
accountName,
liveEventName,
liveOutputName,
resourceGroupName,
subscriptionId,
properties
)
SELECT
'{{ accountName }}',
'{{ liveEventName }}',
'{{ liveOutputName }}',
'{{ resourceGroupName }}',
'{{ subscriptionId }}',
'{{ properties }}'
;

DELETE example

Deletes the specified live_outputs resource.

/*+ delete */
DELETE FROM azure.media_services.live_outputs
WHERE accountName = '{{ accountName }}'
AND liveEventName = '{{ liveEventName }}'
AND liveOutputName = '{{ liveOutputName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';