This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
azure-native.media.listAssetContainerSas
Explore with Pulumi AI
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi
Lists storage container URLs with shared access signatures (SAS) for uploading and downloading Asset content. The signatures are derived from the storage account keys. Azure REST API version: 2023-01-01.
Using listAssetContainerSas
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function listAssetContainerSas(args: ListAssetContainerSasArgs, opts?: InvokeOptions): Promise<ListAssetContainerSasResult>
function listAssetContainerSasOutput(args: ListAssetContainerSasOutputArgs, opts?: InvokeOptions): Output<ListAssetContainerSasResult>def list_asset_container_sas(account_name: Optional[str] = None,
                             asset_name: Optional[str] = None,
                             expiry_time: Optional[str] = None,
                             permissions: Optional[Union[str, AssetContainerPermission]] = None,
                             resource_group_name: Optional[str] = None,
                             opts: Optional[InvokeOptions] = None) -> ListAssetContainerSasResult
def list_asset_container_sas_output(account_name: Optional[pulumi.Input[str]] = None,
                             asset_name: Optional[pulumi.Input[str]] = None,
                             expiry_time: Optional[pulumi.Input[str]] = None,
                             permissions: Optional[pulumi.Input[Union[str, AssetContainerPermission]]] = None,
                             resource_group_name: Optional[pulumi.Input[str]] = None,
                             opts: Optional[InvokeOptions] = None) -> Output[ListAssetContainerSasResult]func ListAssetContainerSas(ctx *Context, args *ListAssetContainerSasArgs, opts ...InvokeOption) (*ListAssetContainerSasResult, error)
func ListAssetContainerSasOutput(ctx *Context, args *ListAssetContainerSasOutputArgs, opts ...InvokeOption) ListAssetContainerSasResultOutput> Note: This function is named ListAssetContainerSas in the Go SDK.
public static class ListAssetContainerSas 
{
    public static Task<ListAssetContainerSasResult> InvokeAsync(ListAssetContainerSasArgs args, InvokeOptions? opts = null)
    public static Output<ListAssetContainerSasResult> Invoke(ListAssetContainerSasInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListAssetContainerSasResult> listAssetContainerSas(ListAssetContainerSasArgs args, InvokeOptions options)
public static Output<ListAssetContainerSasResult> listAssetContainerSas(ListAssetContainerSasArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:media:listAssetContainerSas
  arguments:
    # arguments dictionaryThe following arguments are supported:
- AccountName string
- The Media Services account name.
- AssetName string
- The Asset name.
- ResourceGroup stringName 
- The name of the resource group within the Azure subscription.
- ExpiryTime string
- The SAS URL expiration time. This must be less than 24 hours from the current time.
- Permissions
string | Pulumi.Azure Native. Media. Asset Container Permission 
- The permissions to set on the SAS URL.
- AccountName string
- The Media Services account name.
- AssetName string
- The Asset name.
- ResourceGroup stringName 
- The name of the resource group within the Azure subscription.
- ExpiryTime string
- The SAS URL expiration time. This must be less than 24 hours from the current time.
- Permissions
string | AssetContainer Permission 
- The permissions to set on the SAS URL.
- accountName String
- The Media Services account name.
- assetName String
- The Asset name.
- resourceGroup StringName 
- The name of the resource group within the Azure subscription.
- expiryTime String
- The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
String | AssetContainer Permission 
- The permissions to set on the SAS URL.
- accountName string
- The Media Services account name.
- assetName string
- The Asset name.
- resourceGroup stringName 
- The name of the resource group within the Azure subscription.
- expiryTime string
- The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
string | AssetContainer Permission 
- The permissions to set on the SAS URL.
- account_name str
- The Media Services account name.
- asset_name str
- The Asset name.
- resource_group_ strname 
- The name of the resource group within the Azure subscription.
- expiry_time str
- The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
str | AssetContainer Permission 
- The permissions to set on the SAS URL.
- accountName String
- The Media Services account name.
- assetName String
- The Asset name.
- resourceGroup StringName 
- The name of the resource group within the Azure subscription.
- expiryTime String
- The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
String | "Read" | "ReadWrite" | "Read Write Delete" 
- The permissions to set on the SAS URL.
listAssetContainerSas Result
The following output properties are available:
- AssetContainer List<string>Sas Urls 
- The list of Asset container SAS URLs.
- AssetContainer []stringSas Urls 
- The list of Asset container SAS URLs.
- assetContainer List<String>Sas Urls 
- The list of Asset container SAS URLs.
- assetContainer string[]Sas Urls 
- The list of Asset container SAS URLs.
- asset_container_ Sequence[str]sas_ urls 
- The list of Asset container SAS URLs.
- assetContainer List<String>Sas Urls 
- The list of Asset container SAS URLs.
Supporting Types
AssetContainerPermission  
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v1 docs if using the v1 version of this package.
Azure Native v2.89.1 published on Sunday, Mar 2, 2025 by Pulumi