Skip to main content

transforms

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

Overview

Nametransforms
TypeResource
Idazure.media_services.transforms

Fields

NameDatatypeDescription
descriptiontextfield from the properties object
accountNametextfield from the properties object
createdtextfield from the properties object
last_modifiedtextfield from the properties object
outputstextfield from the properties object
resourceGroupNametextfield from the properties object
subscriptionIdtextfield from the properties object
system_datatextfield from the properties object
transformNametextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTaccountName, resourceGroupName, subscriptionId, transformNameGets a Transform.
listSELECTaccountName, resourceGroupName, subscriptionIdLists the Transforms in the account.
create_or_updateINSERTaccountName, resourceGroupName, subscriptionId, transformNameCreates or updates a new Transform.
deleteDELETEaccountName, resourceGroupName, subscriptionId, transformNameDeletes a Transform.
updateUPDATEaccountName, resourceGroupName, subscriptionId, transformNameUpdates a Transform.

SELECT examples

Lists the Transforms in the account.

SELECT
description,
accountName,
created,
last_modified,
outputs,
resourceGroupName,
subscriptionId,
system_data,
transformName
FROM azure.media_services.vw_transforms
WHERE accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}';

INSERT example

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

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

UPDATE example

Updates a transforms resource.

/*+ update */
UPDATE azure.media_services.transforms
SET
properties = '{{ properties }}'
WHERE
accountName = '{{ accountName }}'
AND resourceGroupName = '{{ resourceGroupName }}'
AND subscriptionId = '{{ subscriptionId }}'
AND transformName = '{{ transformName }}';

DELETE example

Deletes the specified transforms resource.

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