1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. listAssetContainerSas
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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi

azure-native.media.listAssetContainerSas

Explore with Pulumi AI

azure-native logo
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.73.0 published on Wednesday, Nov 20, 2024 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)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:media:listAssetContainerSas
      arguments:
        # arguments dictionary

    The following arguments are supported:

    AccountName string
    The Media Services account name.
    AssetName string
    The Asset name.
    ResourceGroupName string
    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.AzureNative.Media.AssetContainerPermission
    The permissions to set on the SAS URL.
    AccountName string
    The Media Services account name.
    AssetName string
    The Asset name.
    ResourceGroupName string
    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 | AssetContainerPermission
    The permissions to set on the SAS URL.
    accountName String
    The Media Services account name.
    assetName String
    The Asset name.
    resourceGroupName String
    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 | AssetContainerPermission
    The permissions to set on the SAS URL.
    accountName string
    The Media Services account name.
    assetName string
    The Asset name.
    resourceGroupName string
    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 | AssetContainerPermission
    The permissions to set on the SAS URL.
    account_name str
    The Media Services account name.
    asset_name str
    The Asset name.
    resource_group_name str
    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 | AssetContainerPermission
    The permissions to set on the SAS URL.
    accountName String
    The Media Services account name.
    assetName String
    The Asset name.
    resourceGroupName String
    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" | "ReadWriteDelete"
    The permissions to set on the SAS URL.

    listAssetContainerSas Result

    The following output properties are available:

    AssetContainerSasUrls List<string>
    The list of Asset container SAS URLs.
    AssetContainerSasUrls []string
    The list of Asset container SAS URLs.
    assetContainerSasUrls List<String>
    The list of Asset container SAS URLs.
    assetContainerSasUrls string[]
    The list of Asset container SAS URLs.
    asset_container_sas_urls Sequence[str]
    The list of Asset container SAS URLs.
    assetContainerSasUrls List<String>
    The list of Asset container SAS URLs.

    Supporting Types

    AssetContainerPermission

    Package Details

    Repository
    Azure Native pulumi/pulumi-azure-native
    License
    Apache-2.0
    azure-native logo
    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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi