Share via


AssetsOperationsExtensions.ListContainerSas Method

Definition

List the Asset URLs

public static Microsoft.Azure.Management.Media.Models.AssetContainerSas ListContainerSas (this Microsoft.Azure.Management.Media.IAssetsOperations operations, string resourceGroupName, string accountName, string assetName, Microsoft.Azure.Management.Media.Models.AssetContainerPermission? permissions = default, DateTime? expiryTime = default);
static member ListContainerSas : Microsoft.Azure.Management.Media.IAssetsOperations * string * string * string * Nullable<Microsoft.Azure.Management.Media.Models.AssetContainerPermission> * Nullable<DateTime> -> Microsoft.Azure.Management.Media.Models.AssetContainerSas
<Extension()>
Public Function ListContainerSas (operations As IAssetsOperations, resourceGroupName As String, accountName As String, assetName As String, Optional permissions As Nullable(Of AssetContainerPermission) = Nothing, Optional expiryTime As Nullable(Of DateTime) = Nothing) As AssetContainerSas

Parameters

operations
IAssetsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group within the Azure subscription.

accountName
String

The Media Services account name.

assetName
String

The Asset name.

permissions
Nullable<AssetContainerPermission>

The permissions to set on the SAS URL. Possible values include: 'Read', 'ReadWrite', 'ReadWriteDelete'

expiryTime
Nullable<DateTime>

The SAS URL expiration time. This must be less than 24 hours from the current time.

Returns

Remarks

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

Applies to