1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. listAssetContainerSas
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.media.listAssetContainerSas

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 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.

Uses Azure REST API version 2023-01-01.

Other available API versions: 2018-03-30-preview, 2018-06-01-preview, 2018-07-01, 2020-05-01, 2021-06-01, 2021-11-01, 2022-08-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native media [ApiVersion]. See the version guide for details.

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>
Copy
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]
Copy
func ListAssetContainerSas(ctx *Context, args *ListAssetContainerSasArgs, opts ...InvokeOption) (*ListAssetContainerSasResult, error)
func ListAssetContainerSasOutput(ctx *Context, args *ListAssetContainerSasOutputArgs, opts ...InvokeOption) ListAssetContainerSasResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<ListAssetContainerSasResult> listAssetContainerSas(ListAssetContainerSasArgs args, InvokeOptions options)
public static Output<ListAssetContainerSasResult> listAssetContainerSas(ListAssetContainerSasArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:media:listAssetContainerSas
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

AccountName
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
AssetName
This property is required.
Changes to this property will trigger replacement.
string
The Asset name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
AssetName
This property is required.
Changes to this property will trigger replacement.
string
The Asset name.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
assetName
This property is required.
Changes to this property will trigger replacement.
String
The Asset name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
string
The Media Services account name.
assetName
This property is required.
Changes to this property will trigger replacement.
string
The Asset name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
str
The Media Services account name.
asset_name
This property is required.
Changes to this property will trigger replacement.
str
The Asset name.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
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
This property is required.
Changes to this property will trigger replacement.
String
The Media Services account name.
assetName
This property is required.
Changes to this property will trigger replacement.
String
The Asset name.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
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
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi