1. Packages
  2. Azure Native
  3. API Docs
  4. media
  5. getAssetEncryptionKey
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.getAssetEncryptionKey

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

    Gets the Asset storage encryption keys used to decrypt content created by version 2 of the Media Services API Azure REST API version: 2023-01-01.

    Using getAssetEncryptionKey

    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 getAssetEncryptionKey(args: GetAssetEncryptionKeyArgs, opts?: InvokeOptions): Promise<GetAssetEncryptionKeyResult>
    function getAssetEncryptionKeyOutput(args: GetAssetEncryptionKeyOutputArgs, opts?: InvokeOptions): Output<GetAssetEncryptionKeyResult>
    def get_asset_encryption_key(account_name: Optional[str] = None,
                                 asset_name: Optional[str] = None,
                                 resource_group_name: Optional[str] = None,
                                 opts: Optional[InvokeOptions] = None) -> GetAssetEncryptionKeyResult
    def get_asset_encryption_key_output(account_name: Optional[pulumi.Input[str]] = None,
                                 asset_name: Optional[pulumi.Input[str]] = None,
                                 resource_group_name: Optional[pulumi.Input[str]] = None,
                                 opts: Optional[InvokeOptions] = None) -> Output[GetAssetEncryptionKeyResult]
    func GetAssetEncryptionKey(ctx *Context, args *GetAssetEncryptionKeyArgs, opts ...InvokeOption) (*GetAssetEncryptionKeyResult, error)
    func GetAssetEncryptionKeyOutput(ctx *Context, args *GetAssetEncryptionKeyOutputArgs, opts ...InvokeOption) GetAssetEncryptionKeyResultOutput

    > Note: This function is named GetAssetEncryptionKey in the Go SDK.

    public static class GetAssetEncryptionKey 
    {
        public static Task<GetAssetEncryptionKeyResult> InvokeAsync(GetAssetEncryptionKeyArgs args, InvokeOptions? opts = null)
        public static Output<GetAssetEncryptionKeyResult> Invoke(GetAssetEncryptionKeyInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetAssetEncryptionKeyResult> getAssetEncryptionKey(GetAssetEncryptionKeyArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: azure-native:media:getAssetEncryptionKey
      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.
    AccountName string
    The Media Services account name.
    AssetName string
    The Asset name.
    ResourceGroupName string
    The name of the resource group within the Azure subscription.
    accountName String
    The Media Services account name.
    assetName String
    The Asset name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.
    accountName string
    The Media Services account name.
    assetName string
    The Asset name.
    resourceGroupName string
    The name of the resource group within the Azure subscription.
    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.
    accountName String
    The Media Services account name.
    assetName String
    The Asset name.
    resourceGroupName String
    The name of the resource group within the Azure subscription.

    getAssetEncryptionKey Result

    The following output properties are available:

    AssetFileEncryptionMetadata List<Pulumi.AzureNative.Media.Outputs.AssetFileEncryptionMetadataResponse>
    Asset File encryption metadata.
    Key string
    The Asset File storage encryption key.
    AssetFileEncryptionMetadata []AssetFileEncryptionMetadataResponse
    Asset File encryption metadata.
    Key string
    The Asset File storage encryption key.
    assetFileEncryptionMetadata List<AssetFileEncryptionMetadataResponse>
    Asset File encryption metadata.
    key String
    The Asset File storage encryption key.
    assetFileEncryptionMetadata AssetFileEncryptionMetadataResponse[]
    Asset File encryption metadata.
    key string
    The Asset File storage encryption key.
    asset_file_encryption_metadata Sequence[AssetFileEncryptionMetadataResponse]
    Asset File encryption metadata.
    key str
    The Asset File storage encryption key.
    assetFileEncryptionMetadata List<Property Map>
    Asset File encryption metadata.
    key String
    The Asset File storage encryption key.

    Supporting Types

    AssetFileEncryptionMetadataResponse

    AssetFileId string
    The Asset File Id.
    AssetFileName string
    The Asset File name.
    InitializationVector string
    The Asset File initialization vector.
    AssetFileId string
    The Asset File Id.
    AssetFileName string
    The Asset File name.
    InitializationVector string
    The Asset File initialization vector.
    assetFileId String
    The Asset File Id.
    assetFileName String
    The Asset File name.
    initializationVector String
    The Asset File initialization vector.
    assetFileId string
    The Asset File Id.
    assetFileName string
    The Asset File name.
    initializationVector string
    The Asset File initialization vector.
    asset_file_id str
    The Asset File Id.
    asset_file_name str
    The Asset File name.
    initialization_vector str
    The Asset File initialization vector.
    assetFileId String
    The Asset File Id.
    assetFileName String
    The Asset File name.
    initializationVector String
    The Asset File initialization vector.

    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