Skip to main content

assets_container_sas

Creates, updates, deletes, gets or lists an assets_container_sas resource.

Overview

Nameassets_container_sas
TypeResource
Idazure.media_services.assets_container_sas

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
assetContainerSasUrlsarrayThe list of Asset container SAS URLs.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectsubscriptionId, resourceGroupName, accountName, assetNameapi-versionLists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.

Parameters

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
accountNamestringThe Media Services account name.
assetNamestringThe Asset name.
resourceGroupNamestringThe name of the resource group within the Azure subscription.
subscriptionIdstringThe unique identifier for a Microsoft Azure subscription.
api-versionstringThe version of the API to be used with the client request.

SELECT examples

Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys.

SELECT
assetContainerSasUrls
FROM azure.media_services.assets_container_sas
WHERE subscriptionId = '{{ subscriptionId }}' -- required
AND resourceGroupName = '{{ resourceGroupName }}' -- required
AND accountName = '{{ accountName }}' -- required
AND assetName = '{{ assetName }}' -- required
AND api-version = '{{ api-version }}'
;