azure-native.media.getAsset
Explore with Pulumi AI
Get the details of an Asset in the Media Services account API Version: 2020-05-01.
Using getAsset
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 getAsset(args: GetAssetArgs, opts?: InvokeOptions): Promise<GetAssetResult>
function getAssetOutput(args: GetAssetOutputArgs, opts?: InvokeOptions): Output<GetAssetResult>
def get_asset(account_name: Optional[str] = None,
asset_name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetAssetResult
def get_asset_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[GetAssetResult]
func LookupAsset(ctx *Context, args *LookupAssetArgs, opts ...InvokeOption) (*LookupAssetResult, error)
func LookupAssetOutput(ctx *Context, args *LookupAssetOutputArgs, opts ...InvokeOption) LookupAssetResultOutput
> Note: This function is named LookupAsset
in the Go SDK.
public static class GetAsset
{
public static Task<GetAssetResult> InvokeAsync(GetAssetArgs args, InvokeOptions? opts = null)
public static Output<GetAssetResult> Invoke(GetAssetInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetAssetResult> getAsset(GetAssetArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:media:getAsset
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.
getAsset Result
The following output properties are available:
- Asset
Id string The Asset ID.
- Created string
The creation date of the Asset.
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified string The last modified date of the Asset.
- Name string
The name of the resource
- Storage
Encryption stringFormat The Asset encryption format. One of None or MediaStorageEncryption.
- System
Data Pulumi.Azure Native. Media. Outputs. System Data Response The system metadata relating to this resource.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Alternate
Id string The alternate ID of the Asset.
- Container string
The name of the asset blob container.
- Description string
The Asset description.
- Storage
Account stringName The name of the storage account.
- Asset
Id string The Asset ID.
- Created string
The creation date of the Asset.
- Id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- Last
Modified string The last modified date of the Asset.
- Name string
The name of the resource
- Storage
Encryption stringFormat The Asset encryption format. One of None or MediaStorageEncryption.
- System
Data SystemData Response The system metadata relating to this resource.
- Type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- Alternate
Id string The alternate ID of the Asset.
- Container string
The name of the asset blob container.
- Description string
The Asset description.
- Storage
Account stringName The name of the storage account.
- asset
Id String The Asset ID.
- created String
The creation date of the Asset.
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified String The last modified date of the Asset.
- name String
The name of the resource
- storage
Encryption StringFormat The Asset encryption format. One of None or MediaStorageEncryption.
- system
Data SystemData Response The system metadata relating to this resource.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alternate
Id String The alternate ID of the Asset.
- container String
The name of the asset blob container.
- description String
The Asset description.
- storage
Account StringName The name of the storage account.
- asset
Id string The Asset ID.
- created string
The creation date of the Asset.
- id string
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified string The last modified date of the Asset.
- name string
The name of the resource
- storage
Encryption stringFormat The Asset encryption format. One of None or MediaStorageEncryption.
- system
Data SystemData Response The system metadata relating to this resource.
- type string
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alternate
Id string The alternate ID of the Asset.
- container string
The name of the asset blob container.
- description string
The Asset description.
- storage
Account stringName The name of the storage account.
- asset_
id str The Asset ID.
- created str
The creation date of the Asset.
- id str
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last_
modified str The last modified date of the Asset.
- name str
The name of the resource
- storage_
encryption_ strformat The Asset encryption format. One of None or MediaStorageEncryption.
- system_
data SystemData Response The system metadata relating to this resource.
- type str
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alternate_
id str The alternate ID of the Asset.
- container str
The name of the asset blob container.
- description str
The Asset description.
- storage_
account_ strname The name of the storage account.
- asset
Id String The Asset ID.
- created String
The creation date of the Asset.
- id String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- last
Modified String The last modified date of the Asset.
- name String
The name of the resource
- storage
Encryption StringFormat The Asset encryption format. One of None or MediaStorageEncryption.
- system
Data Property Map The system metadata relating to this resource.
- type String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- alternate
Id String The alternate ID of the Asset.
- container String
The name of the asset blob container.
- description String
The Asset description.
- storage
Account StringName The name of the storage account.
Supporting Types
SystemDataResponse
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- Created
At string The timestamp of resource creation (UTC).
- Created
By string The identity that created the resource.
- Created
By stringType The type of identity that created the resource.
- Last
Modified stringAt The timestamp of resource last modification (UTC)
- Last
Modified stringBy The identity that last modified the resource.
- Last
Modified stringBy Type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
- created
At string The timestamp of resource creation (UTC).
- created
By string The identity that created the resource.
- created
By stringType The type of identity that created the resource.
- last
Modified stringAt The timestamp of resource last modification (UTC)
- last
Modified stringBy The identity that last modified the resource.
- last
Modified stringBy Type The type of identity that last modified the resource.
- created_
at str The timestamp of resource creation (UTC).
- created_
by str The identity that created the resource.
- created_
by_ strtype The type of identity that created the resource.
- last_
modified_ strat The timestamp of resource last modification (UTC)
- last_
modified_ strby The identity that last modified the resource.
- last_
modified_ strby_ type The type of identity that last modified the resource.
- created
At String The timestamp of resource creation (UTC).
- created
By String The identity that created the resource.
- created
By StringType The type of identity that created the resource.
- last
Modified StringAt The timestamp of resource last modification (UTC)
- last
Modified StringBy The identity that last modified the resource.
- last
Modified StringBy Type The type of identity that last modified the resource.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0