Azure Native

v1.87.0 published on Tuesday, Nov 22, 2022 by Pulumi

getAssetEncryptionKey

Data needed to decrypt asset files encrypted with legacy storage encryption. API Version: 2020-05-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
https://github.com/pulumi/pulumi-azure-native
License
Apache-2.0