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.47.1 published on Monday, Jun 24, 2024 by Pulumi
azure-native.media.getAssetEncryptionKey
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.47.1 published on Monday, Jun 24, 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:
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
getAssetEncryptionKey Result
The following output properties are available:
- Asset
File List<Pulumi.Encryption Metadata Azure Native. Media. Outputs. Asset File Encryption Metadata Response> - Asset File encryption metadata.
- Key string
- The Asset File storage encryption key.
- Asset
File []AssetEncryption Metadata File Encryption Metadata Response - Asset File encryption metadata.
- Key string
- The Asset File storage encryption key.
- asset
File List<AssetEncryption Metadata File Encryption Metadata Response> - Asset File encryption metadata.
- key String
- The Asset File storage encryption key.
- asset
File AssetEncryption Metadata File Encryption Metadata Response[] - Asset File encryption metadata.
- key string
- The Asset File storage encryption key.
- asset_
file_ Sequence[Assetencryption_ metadata File Encryption Metadata Response] - Asset File encryption metadata.
- key str
- The Asset File storage encryption key.
- asset
File List<Property Map>Encryption Metadata - Asset File encryption metadata.
- key String
- The Asset File storage encryption key.
Supporting Types
AssetFileEncryptionMetadataResponse
- Asset
File stringId - The Asset File Id.
- Asset
File stringName - The Asset File name.
- Initialization
Vector string - The Asset File initialization vector.
- Asset
File stringId - The Asset File Id.
- Asset
File stringName - The Asset File name.
- Initialization
Vector string - The Asset File initialization vector.
- asset
File StringId - The Asset File Id.
- asset
File StringName - The Asset File name.
- initialization
Vector String - The Asset File initialization vector.
- asset
File stringId - The Asset File Id.
- asset
File stringName - The Asset File name.
- initialization
Vector string - The Asset File initialization vector.
- asset_
file_ strid - The Asset File Id.
- asset_
file_ strname - The Asset File name.
- initialization_
vector str - The Asset File initialization vector.
- asset
File StringId - The Asset File Id.
- asset
File StringName - The Asset File name.
- initialization
Vector String - The Asset File initialization vector.
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.47.1 published on Monday, Jun 24, 2024 by Pulumi