Skip to main content

streaming_endpoints

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

Overview

Namestreaming_endpoints
TypeResource
Idazure.media_services.streaming_endpoints

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
access_controltextfield from the properties object
accountNametextfield from the properties object
availability_set_nametextfield from the properties object
cdn_enabledtextfield from the properties object
cdn_profiletextfield from the properties object
cdn_providertextfield from the properties object
createdtextfield from the properties object
cross_site_access_policiestextfield from the properties object
custom_host_namestextfield from the properties object
free_trial_end_timetextfield from the properties object
host_nametextfield from the properties object
last_modifiedtextfield from the properties object
locationtextThe geo-location where the resource lives
max_cache_agetextfield from the properties object
provisioning_statetextfield from the properties object
resourceGroupNametextfield from the properties object
resource_statetextfield from the properties object
scale_unitstextfield from the properties object
skutextThe streaming endpoint current sku.
streamingEndpointNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
tagstextResource tags.

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, streamingEndpointName, subscriptionIdGets a streaming endpoint.
listSELECTaccountName, resourceGroupName, subscriptionIdLists the streaming endpoints in the account.
createINSERTaccountName, resourceGroupName, streamingEndpointName, subscriptionIdCreates a streaming endpoint.
deleteDELETEaccountName, resourceGroupName, streamingEndpointName, subscriptionIdDeletes a streaming endpoint.
updateUPDATEaccountName, resourceGroupName, streamingEndpointName, subscriptionIdUpdates a existing streaming endpoint.
async_operationEXECaccountName, operationId, resourceGroupName, subscriptionIdGet a streaming endpoint operation status.
operation_locationEXECaccountName, operationId, resourceGroupName, streamingEndpointName, subscriptionIdGet a streaming endpoint operation status.
scaleEXECaccountName, resourceGroupName, streamingEndpointName, subscriptionIdScales an existing streaming endpoint.
skusEXECaccountName, resourceGroupName, streamingEndpointName, subscriptionIdList streaming endpoint supported skus.
startEXECaccountName, resourceGroupName, streamingEndpointName, subscriptionIdStarts an existing streaming endpoint.
stopEXECaccountName, resourceGroupName, streamingEndpointName, subscriptionIdStops an existing streaming endpoint.

SELECT examples

Lists the streaming endpoints in the account.

SELECT
description,
access_control,
accountName,
availability_set_name,
cdn_enabled,
cdn_profile,
cdn_provider,
created,
cross_site_access_policies,
custom_host_names,
free_trial_end_time,
host_name,
last_modified,
location,
max_cache_age,
provisioning_state,
resourceGroupName,
resource_state,
scale_units,
sku,
streamingEndpointName,
subscriptionId,
system_data,
tags
FROM azure.media_services.vw_streaming_endpoints
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

/*+ create */
INSERT INTO azure.media_services.streaming_endpoints (
accountName,
resourceGroupName,
streamingEndpointName,
subscriptionId,
properties,
sku,
tags,
location
)
SELECT
'{{ accountName }}',
'{{ resourceGroupName }}',
'{{ streamingEndpointName }}',
'{{ subscriptionId }}',
'{{ properties }}',
'{{ sku }}',
'{{ tags }}',
'{{ location }}'
;

UPDATE example

Updates a streaming_endpoints resource.

/*+ update */
UPDATE azure.media_services.streaming_endpoints
SET
properties = '{{ properties }}',
sku = '{{ sku }}',
tags = '{{ tags }}',
location = '{{ location }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND streamingEndpointName = '{{ streamingEndpointName }}'
AND subscriptionId = '{{ subscriptionId }}';

DELETE example

Deletes the specified streaming_endpoints resource.

/*+ delete */
DELETE FROM azure.media_services.streaming_endpoints
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND streamingEndpointName = '{{ streamingEndpointName }}'
AND subscriptionId = '{{ subscriptionId }}';