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
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:
- Account
Name string - The Media Services account name.
- Asset
Name string - The Asset name.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Expiry
Time 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.
- Account
Name string - The Media Services account name.
- Asset
Name string - The Asset name.
- Resource
Group stringName - The name of the resource group within the Azure subscription.
- Expiry
Time string - The SAS URL expiration time. This must be less than 24 hours from the current time.
- Permissions
string | Asset
Container Permission - The permissions to set on the SAS URL.
- account
Name String - The Media Services account name.
- asset
Name String - The Asset name.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- expiry
Time String - The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
String | Asset
Container Permission - The permissions to set on the SAS URL.
- account
Name string - The Media Services account name.
- asset
Name string - The Asset name.
- resource
Group stringName - The name of the resource group within the Azure subscription.
- expiry
Time string - The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
string | Asset
Container 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 | Asset
Container Permission - The permissions to set on the SAS URL.
- account
Name String - The Media Services account name.
- asset
Name String - The Asset name.
- resource
Group StringName - The name of the resource group within the Azure subscription.
- expiry
Time String - The SAS URL expiration time. This must be less than 24 hours from the current time.
- permissions
String | "Read" | "Read
Write" | "Read Write Delete" - The permissions to set on the SAS URL.
listAssetContainerSas Result
The following output properties are available:
- Asset
Container List<string>Sas Urls - The list of Asset container SAS URLs.
- Asset
Container []stringSas Urls - The list of Asset container SAS URLs.
- asset
Container List<String>Sas Urls - The list of Asset container SAS URLs.
- asset
Container string[]Sas Urls - The list of Asset container SAS URLs.
- asset_
container_ Sequence[str]sas_ urls - The list of Asset container SAS URLs.
- asset
Container 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.73.0 published on Wednesday, Nov 20, 2024 by Pulumi