AssetsOperationsExtensions.ListContainerSasAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
List the Asset URLs
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.AssetContainerSas> ListContainerSasAsync (this Microsoft.Azure.Management.Media.IAssetsOperations operations, string resourceGroupName, string accountName, string assetName, Microsoft.Azure.Management.Media.Models.AssetContainerPermission? permissions = default, DateTime? expiryTime = default, System.Threading.CancellationToken cancellationToken = default);
static member ListContainerSasAsync : Microsoft.Azure.Management.Media.IAssetsOperations * string * string * string * Nullable<Microsoft.Azure.Management.Media.Models.AssetContainerPermission> * Nullable<DateTime> * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Media.Models.AssetContainerSas>
<Extension()>
Public Function ListContainerSasAsync (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, Optional cancellationToken As CancellationToken = Nothing) As Task(Of 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'
The SAS URL expiration time. This must be less than 24 hours from the current time.
- cancellationToken
- CancellationToken
The cancellation token.
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.