We recommend using Azure Native.
azure.media.AssetFilter
Explore with Pulumi AI
Manages an Azure Media Asset Filter.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const example = new azure.core.ResourceGroup("example", {
name: "media-resources",
location: "West Europe",
});
const exampleAccount = new azure.storage.Account("example", {
name: "examplestoracc",
resourceGroupName: example.name,
location: example.location,
accountTier: "Standard",
accountReplicationType: "GRS",
});
const exampleServiceAccount = new azure.media.ServiceAccount("example", {
name: "examplemediaacc",
location: example.location,
resourceGroupName: example.name,
storageAccounts: [{
id: exampleAccount.id,
isPrimary: true,
}],
});
const exampleAsset = new azure.media.Asset("example", {
name: "Asset1",
resourceGroupName: example.name,
mediaServicesAccountName: exampleServiceAccount.name,
description: "Asset description",
});
const exampleAssetFilter = new azure.media.AssetFilter("example", {
name: "Filter1",
assetId: exampleAsset.id,
firstQualityBitrate: 128000,
presentationTimeRange: {
startInUnits: 0,
endInUnits: 15,
presentationWindowInUnits: 90,
liveBackoffInUnits: 0,
unitTimescaleInMiliseconds: 1000,
forceEnd: false,
},
trackSelections: [
{
conditions: [
{
property: "Type",
operation: "Equal",
value: "Audio",
},
{
property: "Language",
operation: "NotEqual",
value: "en",
},
{
property: "FourCC",
operation: "NotEqual",
value: "EC-3",
},
],
},
{
conditions: [
{
property: "Type",
operation: "Equal",
value: "Video",
},
{
property: "Bitrate",
operation: "Equal",
value: "3000000-5000000",
},
],
},
],
});
import pulumi
import pulumi_azure as azure
example = azure.core.ResourceGroup("example",
name="media-resources",
location="West Europe")
example_account = azure.storage.Account("example",
name="examplestoracc",
resource_group_name=example.name,
location=example.location,
account_tier="Standard",
account_replication_type="GRS")
example_service_account = azure.media.ServiceAccount("example",
name="examplemediaacc",
location=example.location,
resource_group_name=example.name,
storage_accounts=[azure.media.ServiceAccountStorageAccountArgs(
id=example_account.id,
is_primary=True,
)])
example_asset = azure.media.Asset("example",
name="Asset1",
resource_group_name=example.name,
media_services_account_name=example_service_account.name,
description="Asset description")
example_asset_filter = azure.media.AssetFilter("example",
name="Filter1",
asset_id=example_asset.id,
first_quality_bitrate=128000,
presentation_time_range=azure.media.AssetFilterPresentationTimeRangeArgs(
start_in_units=0,
end_in_units=15,
presentation_window_in_units=90,
live_backoff_in_units=0,
unit_timescale_in_miliseconds=1000,
force_end=False,
),
track_selections=[
azure.media.AssetFilterTrackSelectionArgs(
conditions=[
azure.media.AssetFilterTrackSelectionConditionArgs(
property="Type",
operation="Equal",
value="Audio",
),
azure.media.AssetFilterTrackSelectionConditionArgs(
property="Language",
operation="NotEqual",
value="en",
),
azure.media.AssetFilterTrackSelectionConditionArgs(
property="FourCC",
operation="NotEqual",
value="EC-3",
),
],
),
azure.media.AssetFilterTrackSelectionArgs(
conditions=[
azure.media.AssetFilterTrackSelectionConditionArgs(
property="Type",
operation="Equal",
value="Video",
),
azure.media.AssetFilterTrackSelectionConditionArgs(
property="Bitrate",
operation="Equal",
value="3000000-5000000",
),
],
),
])
package main
import (
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/media"
"github.com/pulumi/pulumi-azure/sdk/v5/go/azure/storage"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
Name: pulumi.String("media-resources"),
Location: pulumi.String("West Europe"),
})
if err != nil {
return err
}
exampleAccount, err := storage.NewAccount(ctx, "example", &storage.AccountArgs{
Name: pulumi.String("examplestoracc"),
ResourceGroupName: example.Name,
Location: example.Location,
AccountTier: pulumi.String("Standard"),
AccountReplicationType: pulumi.String("GRS"),
})
if err != nil {
return err
}
exampleServiceAccount, err := media.NewServiceAccount(ctx, "example", &media.ServiceAccountArgs{
Name: pulumi.String("examplemediaacc"),
Location: example.Location,
ResourceGroupName: example.Name,
StorageAccounts: media.ServiceAccountStorageAccountArray{
&media.ServiceAccountStorageAccountArgs{
Id: exampleAccount.ID(),
IsPrimary: pulumi.Bool(true),
},
},
})
if err != nil {
return err
}
exampleAsset, err := media.NewAsset(ctx, "example", &media.AssetArgs{
Name: pulumi.String("Asset1"),
ResourceGroupName: example.Name,
MediaServicesAccountName: exampleServiceAccount.Name,
Description: pulumi.String("Asset description"),
})
if err != nil {
return err
}
_, err = media.NewAssetFilter(ctx, "example", &media.AssetFilterArgs{
Name: pulumi.String("Filter1"),
AssetId: exampleAsset.ID(),
FirstQualityBitrate: pulumi.Int(128000),
PresentationTimeRange: &media.AssetFilterPresentationTimeRangeArgs{
StartInUnits: pulumi.Int(0),
EndInUnits: pulumi.Int(15),
PresentationWindowInUnits: pulumi.Int(90),
LiveBackoffInUnits: pulumi.Int(0),
UnitTimescaleInMiliseconds: pulumi.Int(1000),
ForceEnd: pulumi.Bool(false),
},
TrackSelections: media.AssetFilterTrackSelectionArray{
&media.AssetFilterTrackSelectionArgs{
Conditions: media.AssetFilterTrackSelectionConditionArray{
&media.AssetFilterTrackSelectionConditionArgs{
Property: pulumi.String("Type"),
Operation: pulumi.String("Equal"),
Value: pulumi.String("Audio"),
},
&media.AssetFilterTrackSelectionConditionArgs{
Property: pulumi.String("Language"),
Operation: pulumi.String("NotEqual"),
Value: pulumi.String("en"),
},
&media.AssetFilterTrackSelectionConditionArgs{
Property: pulumi.String("FourCC"),
Operation: pulumi.String("NotEqual"),
Value: pulumi.String("EC-3"),
},
},
},
&media.AssetFilterTrackSelectionArgs{
Conditions: media.AssetFilterTrackSelectionConditionArray{
&media.AssetFilterTrackSelectionConditionArgs{
Property: pulumi.String("Type"),
Operation: pulumi.String("Equal"),
Value: pulumi.String("Video"),
},
&media.AssetFilterTrackSelectionConditionArgs{
Property: pulumi.String("Bitrate"),
Operation: pulumi.String("Equal"),
Value: pulumi.String("3000000-5000000"),
},
},
},
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Azure = Pulumi.Azure;
return await Deployment.RunAsync(() =>
{
var example = new Azure.Core.ResourceGroup("example", new()
{
Name = "media-resources",
Location = "West Europe",
});
var exampleAccount = new Azure.Storage.Account("example", new()
{
Name = "examplestoracc",
ResourceGroupName = example.Name,
Location = example.Location,
AccountTier = "Standard",
AccountReplicationType = "GRS",
});
var exampleServiceAccount = new Azure.Media.ServiceAccount("example", new()
{
Name = "examplemediaacc",
Location = example.Location,
ResourceGroupName = example.Name,
StorageAccounts = new[]
{
new Azure.Media.Inputs.ServiceAccountStorageAccountArgs
{
Id = exampleAccount.Id,
IsPrimary = true,
},
},
});
var exampleAsset = new Azure.Media.Asset("example", new()
{
Name = "Asset1",
ResourceGroupName = example.Name,
MediaServicesAccountName = exampleServiceAccount.Name,
Description = "Asset description",
});
var exampleAssetFilter = new Azure.Media.AssetFilter("example", new()
{
Name = "Filter1",
AssetId = exampleAsset.Id,
FirstQualityBitrate = 128000,
PresentationTimeRange = new Azure.Media.Inputs.AssetFilterPresentationTimeRangeArgs
{
StartInUnits = 0,
EndInUnits = 15,
PresentationWindowInUnits = 90,
LiveBackoffInUnits = 0,
UnitTimescaleInMiliseconds = 1000,
ForceEnd = false,
},
TrackSelections = new[]
{
new Azure.Media.Inputs.AssetFilterTrackSelectionArgs
{
Conditions = new[]
{
new Azure.Media.Inputs.AssetFilterTrackSelectionConditionArgs
{
Property = "Type",
Operation = "Equal",
Value = "Audio",
},
new Azure.Media.Inputs.AssetFilterTrackSelectionConditionArgs
{
Property = "Language",
Operation = "NotEqual",
Value = "en",
},
new Azure.Media.Inputs.AssetFilterTrackSelectionConditionArgs
{
Property = "FourCC",
Operation = "NotEqual",
Value = "EC-3",
},
},
},
new Azure.Media.Inputs.AssetFilterTrackSelectionArgs
{
Conditions = new[]
{
new Azure.Media.Inputs.AssetFilterTrackSelectionConditionArgs
{
Property = "Type",
Operation = "Equal",
Value = "Video",
},
new Azure.Media.Inputs.AssetFilterTrackSelectionConditionArgs
{
Property = "Bitrate",
Operation = "Equal",
Value = "3000000-5000000",
},
},
},
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azure.core.ResourceGroup;
import com.pulumi.azure.core.ResourceGroupArgs;
import com.pulumi.azure.storage.Account;
import com.pulumi.azure.storage.AccountArgs;
import com.pulumi.azure.media.ServiceAccount;
import com.pulumi.azure.media.ServiceAccountArgs;
import com.pulumi.azure.media.inputs.ServiceAccountStorageAccountArgs;
import com.pulumi.azure.media.Asset;
import com.pulumi.azure.media.AssetArgs;
import com.pulumi.azure.media.AssetFilter;
import com.pulumi.azure.media.AssetFilterArgs;
import com.pulumi.azure.media.inputs.AssetFilterPresentationTimeRangeArgs;
import com.pulumi.azure.media.inputs.AssetFilterTrackSelectionArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example = new ResourceGroup("example", ResourceGroupArgs.builder()
.name("media-resources")
.location("West Europe")
.build());
var exampleAccount = new Account("exampleAccount", AccountArgs.builder()
.name("examplestoracc")
.resourceGroupName(example.name())
.location(example.location())
.accountTier("Standard")
.accountReplicationType("GRS")
.build());
var exampleServiceAccount = new ServiceAccount("exampleServiceAccount", ServiceAccountArgs.builder()
.name("examplemediaacc")
.location(example.location())
.resourceGroupName(example.name())
.storageAccounts(ServiceAccountStorageAccountArgs.builder()
.id(exampleAccount.id())
.isPrimary(true)
.build())
.build());
var exampleAsset = new Asset("exampleAsset", AssetArgs.builder()
.name("Asset1")
.resourceGroupName(example.name())
.mediaServicesAccountName(exampleServiceAccount.name())
.description("Asset description")
.build());
var exampleAssetFilter = new AssetFilter("exampleAssetFilter", AssetFilterArgs.builder()
.name("Filter1")
.assetId(exampleAsset.id())
.firstQualityBitrate(128000)
.presentationTimeRange(AssetFilterPresentationTimeRangeArgs.builder()
.startInUnits(0)
.endInUnits(15)
.presentationWindowInUnits(90)
.liveBackoffInUnits(0)
.unitTimescaleInMiliseconds(1000)
.forceEnd(false)
.build())
.trackSelections(
AssetFilterTrackSelectionArgs.builder()
.conditions(
AssetFilterTrackSelectionConditionArgs.builder()
.property("Type")
.operation("Equal")
.value("Audio")
.build(),
AssetFilterTrackSelectionConditionArgs.builder()
.property("Language")
.operation("NotEqual")
.value("en")
.build(),
AssetFilterTrackSelectionConditionArgs.builder()
.property("FourCC")
.operation("NotEqual")
.value("EC-3")
.build())
.build(),
AssetFilterTrackSelectionArgs.builder()
.conditions(
AssetFilterTrackSelectionConditionArgs.builder()
.property("Type")
.operation("Equal")
.value("Video")
.build(),
AssetFilterTrackSelectionConditionArgs.builder()
.property("Bitrate")
.operation("Equal")
.value("3000000-5000000")
.build())
.build())
.build());
}
}
resources:
example:
type: azure:core:ResourceGroup
properties:
name: media-resources
location: West Europe
exampleAccount:
type: azure:storage:Account
name: example
properties:
name: examplestoracc
resourceGroupName: ${example.name}
location: ${example.location}
accountTier: Standard
accountReplicationType: GRS
exampleServiceAccount:
type: azure:media:ServiceAccount
name: example
properties:
name: examplemediaacc
location: ${example.location}
resourceGroupName: ${example.name}
storageAccounts:
- id: ${exampleAccount.id}
isPrimary: true
exampleAsset:
type: azure:media:Asset
name: example
properties:
name: Asset1
resourceGroupName: ${example.name}
mediaServicesAccountName: ${exampleServiceAccount.name}
description: Asset description
exampleAssetFilter:
type: azure:media:AssetFilter
name: example
properties:
name: Filter1
assetId: ${exampleAsset.id}
firstQualityBitrate: 128000
presentationTimeRange:
startInUnits: 0
endInUnits: 15
presentationWindowInUnits: 90
liveBackoffInUnits: 0
unitTimescaleInMiliseconds: 1000
forceEnd: false
trackSelections:
- conditions:
- property: Type
operation: Equal
value: Audio
- property: Language
operation: NotEqual
value: en
- property: FourCC
operation: NotEqual
value: EC-3
- conditions:
- property: Type
operation: Equal
value: Video
- property: Bitrate
operation: Equal
value: 3000000-5000000
Create AssetFilter Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new AssetFilter(name: string, args: AssetFilterArgs, opts?: CustomResourceOptions);
@overload
def AssetFilter(resource_name: str,
args: AssetFilterArgs,
opts: Optional[ResourceOptions] = None)
@overload
def AssetFilter(resource_name: str,
opts: Optional[ResourceOptions] = None,
asset_id: Optional[str] = None,
first_quality_bitrate: Optional[int] = None,
name: Optional[str] = None,
presentation_time_range: Optional[AssetFilterPresentationTimeRangeArgs] = None,
track_selections: Optional[Sequence[AssetFilterTrackSelectionArgs]] = None)
func NewAssetFilter(ctx *Context, name string, args AssetFilterArgs, opts ...ResourceOption) (*AssetFilter, error)
public AssetFilter(string name, AssetFilterArgs args, CustomResourceOptions? opts = null)
public AssetFilter(String name, AssetFilterArgs args)
public AssetFilter(String name, AssetFilterArgs args, CustomResourceOptions options)
type: azure:media:AssetFilter
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args AssetFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args AssetFilterArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args AssetFilterArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args AssetFilterArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args AssetFilterArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var assetFilterResource = new Azure.Media.AssetFilter("assetFilterResource", new()
{
AssetId = "string",
FirstQualityBitrate = 0,
Name = "string",
PresentationTimeRange = new Azure.Media.Inputs.AssetFilterPresentationTimeRangeArgs
{
EndInUnits = 0,
ForceEnd = false,
LiveBackoffInUnits = 0,
PresentationWindowInUnits = 0,
StartInUnits = 0,
UnitTimescaleInMiliseconds = 0,
},
TrackSelections = new[]
{
new Azure.Media.Inputs.AssetFilterTrackSelectionArgs
{
Conditions = new[]
{
new Azure.Media.Inputs.AssetFilterTrackSelectionConditionArgs
{
Operation = "string",
Property = "string",
Value = "string",
},
},
},
},
});
example, err := media.NewAssetFilter(ctx, "assetFilterResource", &media.AssetFilterArgs{
AssetId: pulumi.String("string"),
FirstQualityBitrate: pulumi.Int(0),
Name: pulumi.String("string"),
PresentationTimeRange: &media.AssetFilterPresentationTimeRangeArgs{
EndInUnits: pulumi.Int(0),
ForceEnd: pulumi.Bool(false),
LiveBackoffInUnits: pulumi.Int(0),
PresentationWindowInUnits: pulumi.Int(0),
StartInUnits: pulumi.Int(0),
UnitTimescaleInMiliseconds: pulumi.Int(0),
},
TrackSelections: media.AssetFilterTrackSelectionArray{
&media.AssetFilterTrackSelectionArgs{
Conditions: media.AssetFilterTrackSelectionConditionArray{
&media.AssetFilterTrackSelectionConditionArgs{
Operation: pulumi.String("string"),
Property: pulumi.String("string"),
Value: pulumi.String("string"),
},
},
},
},
})
var assetFilterResource = new AssetFilter("assetFilterResource", AssetFilterArgs.builder()
.assetId("string")
.firstQualityBitrate(0)
.name("string")
.presentationTimeRange(AssetFilterPresentationTimeRangeArgs.builder()
.endInUnits(0)
.forceEnd(false)
.liveBackoffInUnits(0)
.presentationWindowInUnits(0)
.startInUnits(0)
.unitTimescaleInMiliseconds(0)
.build())
.trackSelections(AssetFilterTrackSelectionArgs.builder()
.conditions(AssetFilterTrackSelectionConditionArgs.builder()
.operation("string")
.property("string")
.value("string")
.build())
.build())
.build());
asset_filter_resource = azure.media.AssetFilter("assetFilterResource",
asset_id="string",
first_quality_bitrate=0,
name="string",
presentation_time_range=azure.media.AssetFilterPresentationTimeRangeArgs(
end_in_units=0,
force_end=False,
live_backoff_in_units=0,
presentation_window_in_units=0,
start_in_units=0,
unit_timescale_in_miliseconds=0,
),
track_selections=[azure.media.AssetFilterTrackSelectionArgs(
conditions=[azure.media.AssetFilterTrackSelectionConditionArgs(
operation="string",
property="string",
value="string",
)],
)])
const assetFilterResource = new azure.media.AssetFilter("assetFilterResource", {
assetId: "string",
firstQualityBitrate: 0,
name: "string",
presentationTimeRange: {
endInUnits: 0,
forceEnd: false,
liveBackoffInUnits: 0,
presentationWindowInUnits: 0,
startInUnits: 0,
unitTimescaleInMiliseconds: 0,
},
trackSelections: [{
conditions: [{
operation: "string",
property: "string",
value: "string",
}],
}],
});
type: azure:media:AssetFilter
properties:
assetId: string
firstQualityBitrate: 0
name: string
presentationTimeRange:
endInUnits: 0
forceEnd: false
liveBackoffInUnits: 0
presentationWindowInUnits: 0
startInUnits: 0
unitTimescaleInMiliseconds: 0
trackSelections:
- conditions:
- operation: string
property: string
value: string
AssetFilter Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The AssetFilter resource accepts the following input properties:
- Asset
Id string - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- First
Quality intBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- Name string
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- Presentation
Time AssetRange Filter Presentation Time Range - A
presentation_time_range
block as defined below. - Track
Selections List<AssetFilter Track Selection> - One or more
track_selection
blocks as defined below.
- Asset
Id string - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- First
Quality intBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- Name string
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- Presentation
Time AssetRange Filter Presentation Time Range Args - A
presentation_time_range
block as defined below. - Track
Selections []AssetFilter Track Selection Args - One or more
track_selection
blocks as defined below.
- asset
Id String - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first
Quality IntegerBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name String
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation
Time AssetRange Filter Presentation Time Range - A
presentation_time_range
block as defined below. - track
Selections List<AssetFilter Track Selection> - One or more
track_selection
blocks as defined below.
- asset
Id string - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first
Quality numberBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name string
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation
Time AssetRange Filter Presentation Time Range - A
presentation_time_range
block as defined below. - track
Selections AssetFilter Track Selection[] - One or more
track_selection
blocks as defined below.
- asset_
id str - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first_
quality_ intbitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name str
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation_
time_ Assetrange Filter Presentation Time Range Args - A
presentation_time_range
block as defined below. - track_
selections Sequence[AssetFilter Track Selection Args] - One or more
track_selection
blocks as defined below.
- asset
Id String - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first
Quality NumberBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name String
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation
Time Property MapRange - A
presentation_time_range
block as defined below. - track
Selections List<Property Map> - One or more
track_selection
blocks as defined below.
Outputs
All input properties are implicitly available as output properties. Additionally, the AssetFilter resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing AssetFilter Resource
Get an existing AssetFilter resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: AssetFilterState, opts?: CustomResourceOptions): AssetFilter
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
asset_id: Optional[str] = None,
first_quality_bitrate: Optional[int] = None,
name: Optional[str] = None,
presentation_time_range: Optional[AssetFilterPresentationTimeRangeArgs] = None,
track_selections: Optional[Sequence[AssetFilterTrackSelectionArgs]] = None) -> AssetFilter
func GetAssetFilter(ctx *Context, name string, id IDInput, state *AssetFilterState, opts ...ResourceOption) (*AssetFilter, error)
public static AssetFilter Get(string name, Input<string> id, AssetFilterState? state, CustomResourceOptions? opts = null)
public static AssetFilter get(String name, Output<String> id, AssetFilterState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Asset
Id string - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- First
Quality intBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- Name string
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- Presentation
Time AssetRange Filter Presentation Time Range - A
presentation_time_range
block as defined below. - Track
Selections List<AssetFilter Track Selection> - One or more
track_selection
blocks as defined below.
- Asset
Id string - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- First
Quality intBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- Name string
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- Presentation
Time AssetRange Filter Presentation Time Range Args - A
presentation_time_range
block as defined below. - Track
Selections []AssetFilter Track Selection Args - One or more
track_selection
blocks as defined below.
- asset
Id String - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first
Quality IntegerBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name String
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation
Time AssetRange Filter Presentation Time Range - A
presentation_time_range
block as defined below. - track
Selections List<AssetFilter Track Selection> - One or more
track_selection
blocks as defined below.
- asset
Id string - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first
Quality numberBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name string
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation
Time AssetRange Filter Presentation Time Range - A
presentation_time_range
block as defined below. - track
Selections AssetFilter Track Selection[] - One or more
track_selection
blocks as defined below.
- asset_
id str - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first_
quality_ intbitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name str
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation_
time_ Assetrange Filter Presentation Time Range Args - A
presentation_time_range
block as defined below. - track_
selections Sequence[AssetFilter Track Selection Args] - One or more
track_selection
blocks as defined below.
- asset
Id String - The Asset ID for which the Asset Filter should be created. Changing this forces a new Asset Filter to be created.
- first
Quality NumberBitrate - The first quality bitrate. Sets the first video track to appear in the Live Streaming playlist to allow HLS native players to start downloading from this quality level at the beginning.
- name String
- The name which should be used for this Asset Filter. Changing this forces a new Asset Filter to be created.
- presentation
Time Property MapRange - A
presentation_time_range
block as defined below. - track
Selections List<Property Map> - One or more
track_selection
blocks as defined below.
Supporting Types
AssetFilterPresentationTimeRange, AssetFilterPresentationTimeRangeArgs
- End
In intUnits - The absolute end time boundary. Applies to Video on Demand (VoD).
For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so anend_in_units
of 180 would be for 3 minutes. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - Force
End bool - Indicates whether the
end_in_units
property must be present. If true,end_in_units
must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. - Live
Backoff intIn Units - The relative to end right edge. Applies to Live Streaming only.
This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by
unit_timescale_in_miliseconds
. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. - Presentation
Window intIn Units - The relative to end sliding window. Applies to Live Streaming only. Use
presentation_window_in_units
to apply a sliding window of fragments to include in a playlist. The unit is defined byunit_timescale_in_miliseconds
. For example, setpresentation_window_in_units
to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. - Start
In intUnits - The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so astart_in_units
of 15 would be for 15 seconds. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - Unit
Timescale intIn Miliseconds - Specified as the number of miliseconds in one unit timescale. For example, if you want to set a
start_in_units
at 30 seconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1000. Or if you want to setstart_in_units
in 30 miliseconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1. Applies timescale tostart_in_units
,start_timescale
andpresentation_window_in_timescale
andlive_backoff_in_timescale
.
- End
In intUnits - The absolute end time boundary. Applies to Video on Demand (VoD).
For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so anend_in_units
of 180 would be for 3 minutes. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - Force
End bool - Indicates whether the
end_in_units
property must be present. If true,end_in_units
must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. - Live
Backoff intIn Units - The relative to end right edge. Applies to Live Streaming only.
This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by
unit_timescale_in_miliseconds
. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. - Presentation
Window intIn Units - The relative to end sliding window. Applies to Live Streaming only. Use
presentation_window_in_units
to apply a sliding window of fragments to include in a playlist. The unit is defined byunit_timescale_in_miliseconds
. For example, setpresentation_window_in_units
to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. - Start
In intUnits - The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so astart_in_units
of 15 would be for 15 seconds. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - Unit
Timescale intIn Miliseconds - Specified as the number of miliseconds in one unit timescale. For example, if you want to set a
start_in_units
at 30 seconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1000. Or if you want to setstart_in_units
in 30 miliseconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1. Applies timescale tostart_in_units
,start_timescale
andpresentation_window_in_timescale
andlive_backoff_in_timescale
.
- end
In IntegerUnits - The absolute end time boundary. Applies to Video on Demand (VoD).
For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so anend_in_units
of 180 would be for 3 minutes. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - force
End Boolean - Indicates whether the
end_in_units
property must be present. If true,end_in_units
must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. - live
Backoff IntegerIn Units - The relative to end right edge. Applies to Live Streaming only.
This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by
unit_timescale_in_miliseconds
. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. - presentation
Window IntegerIn Units - The relative to end sliding window. Applies to Live Streaming only. Use
presentation_window_in_units
to apply a sliding window of fragments to include in a playlist. The unit is defined byunit_timescale_in_miliseconds
. For example, setpresentation_window_in_units
to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. - start
In IntegerUnits - The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so astart_in_units
of 15 would be for 15 seconds. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - unit
Timescale IntegerIn Miliseconds - Specified as the number of miliseconds in one unit timescale. For example, if you want to set a
start_in_units
at 30 seconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1000. Or if you want to setstart_in_units
in 30 miliseconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1. Applies timescale tostart_in_units
,start_timescale
andpresentation_window_in_timescale
andlive_backoff_in_timescale
.
- end
In numberUnits - The absolute end time boundary. Applies to Video on Demand (VoD).
For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so anend_in_units
of 180 would be for 3 minutes. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - force
End boolean - Indicates whether the
end_in_units
property must be present. If true,end_in_units
must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. - live
Backoff numberIn Units - The relative to end right edge. Applies to Live Streaming only.
This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by
unit_timescale_in_miliseconds
. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. - presentation
Window numberIn Units - The relative to end sliding window. Applies to Live Streaming only. Use
presentation_window_in_units
to apply a sliding window of fragments to include in a playlist. The unit is defined byunit_timescale_in_miliseconds
. For example, setpresentation_window_in_units
to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. - start
In numberUnits - The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so astart_in_units
of 15 would be for 15 seconds. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - unit
Timescale numberIn Miliseconds - Specified as the number of miliseconds in one unit timescale. For example, if you want to set a
start_in_units
at 30 seconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1000. Or if you want to setstart_in_units
in 30 miliseconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1. Applies timescale tostart_in_units
,start_timescale
andpresentation_window_in_timescale
andlive_backoff_in_timescale
.
- end_
in_ intunits - The absolute end time boundary. Applies to Video on Demand (VoD).
For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so anend_in_units
of 180 would be for 3 minutes. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - force_
end bool - Indicates whether the
end_in_units
property must be present. If true,end_in_units
must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. - live_
backoff_ intin_ units - The relative to end right edge. Applies to Live Streaming only.
This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by
unit_timescale_in_miliseconds
. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. - presentation_
window_ intin_ units - The relative to end sliding window. Applies to Live Streaming only. Use
presentation_window_in_units
to apply a sliding window of fragments to include in a playlist. The unit is defined byunit_timescale_in_miliseconds
. For example, setpresentation_window_in_units
to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. - start_
in_ intunits - The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so astart_in_units
of 15 would be for 15 seconds. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - unit_
timescale_ intin_ miliseconds - Specified as the number of miliseconds in one unit timescale. For example, if you want to set a
start_in_units
at 30 seconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1000. Or if you want to setstart_in_units
in 30 miliseconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1. Applies timescale tostart_in_units
,start_timescale
andpresentation_window_in_timescale
andlive_backoff_in_timescale
.
- end
In NumberUnits - The absolute end time boundary. Applies to Video on Demand (VoD).
For the Live Streaming presentation, it is silently ignored and applied when the presentation ends and the stream becomes VoD. This is a long value that represents an absolute end point of the presentation, rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so anend_in_units
of 180 would be for 3 minutes. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - force
End Boolean - Indicates whether the
end_in_units
property must be present. If true,end_in_units
must be specified or a bad request code is returned. Applies to Live Streaming only. Allowed values: false, true. - live
Backoff NumberIn Units - The relative to end right edge. Applies to Live Streaming only.
This value defines the latest live position that a client can seek to. Using this property, you can delay live playback position and create a server-side buffer for players. The unit is defined by
unit_timescale_in_miliseconds
. The maximum live back off duration is 300 seconds. For example, a value of 20 means that the latest available content is 20 seconds delayed from the real live edge. - presentation
Window NumberIn Units - The relative to end sliding window. Applies to Live Streaming only. Use
presentation_window_in_units
to apply a sliding window of fragments to include in a playlist. The unit is defined byunit_timescale_in_miliseconds
. For example, setpresentation_window_in_units
to 120 to apply a two-minute sliding window. Media within 2 minutes of the live edge will be included in the playlist. If a fragment straddles the boundary, the entire fragment will be included in the playlist. The minimum presentation window duration is 60 seconds. - start
In NumberUnits - The absolute start time boundary. Applies to Video on Demand (VoD) or Live Streaming. This is a long value that represents an absolute start point of the stream. The value gets rounded to the closest next GOP start. The unit is defined by
unit_timescale_in_miliseconds
, so astart_in_units
of 15 would be for 15 seconds. Usestart_in_units
andend_in_units
to trim the fragments that will be in the playlist (manifest). For example,start_in_units
set to 20 andend_in_units
set to 60 usingunit_timescale_in_miliseconds
in 1000 will generate a playlist that contains fragments from between 20 seconds and 60 seconds of the VoD presentation. If a fragment straddles the boundary, the entire fragment will be included in the manifest. - unit
Timescale NumberIn Miliseconds - Specified as the number of miliseconds in one unit timescale. For example, if you want to set a
start_in_units
at 30 seconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1000. Or if you want to setstart_in_units
in 30 miliseconds, you would use a value of 30 when using theunit_timescale_in_miliseconds
in 1. Applies timescale tostart_in_units
,start_timescale
andpresentation_window_in_timescale
andlive_backoff_in_timescale
.
AssetFilterTrackSelection, AssetFilterTrackSelectionArgs
- Conditions
List<Asset
Filter Track Selection Condition> - One or more
condition
blocks as defined above.
- Conditions
[]Asset
Filter Track Selection Condition - One or more
condition
blocks as defined above.
- conditions
List<Asset
Filter Track Selection Condition> - One or more
condition
blocks as defined above.
- conditions
Asset
Filter Track Selection Condition[] - One or more
condition
blocks as defined above.
- conditions
Sequence[Asset
Filter Track Selection Condition] - One or more
condition
blocks as defined above.
- conditions List<Property Map>
- One or more
condition
blocks as defined above.
AssetFilterTrackSelectionCondition, AssetFilterTrackSelectionConditionArgs
- Operation string
- The condition operation to test a track property against. Supported values are
Equal
andNotEqual
. - Property string
- The track property to compare. Supported values are
Bitrate
,FourCC
,Language
,Name
andType
. Check documentation for more details. - Value string
- The track property value to match or not match.
- Operation string
- The condition operation to test a track property against. Supported values are
Equal
andNotEqual
. - Property string
- The track property to compare. Supported values are
Bitrate
,FourCC
,Language
,Name
andType
. Check documentation for more details. - Value string
- The track property value to match or not match.
- operation String
- The condition operation to test a track property against. Supported values are
Equal
andNotEqual
. - property String
- The track property to compare. Supported values are
Bitrate
,FourCC
,Language
,Name
andType
. Check documentation for more details. - value String
- The track property value to match or not match.
- operation string
- The condition operation to test a track property against. Supported values are
Equal
andNotEqual
. - property string
- The track property to compare. Supported values are
Bitrate
,FourCC
,Language
,Name
andType
. Check documentation for more details. - value string
- The track property value to match or not match.
- operation str
- The condition operation to test a track property against. Supported values are
Equal
andNotEqual
. - property str
- The track property to compare. Supported values are
Bitrate
,FourCC
,Language
,Name
andType
. Check documentation for more details. - value str
- The track property value to match or not match.
- operation String
- The condition operation to test a track property against. Supported values are
Equal
andNotEqual
. - property String
- The track property to compare. Supported values are
Bitrate
,FourCC
,Language
,Name
andType
. Check documentation for more details. - value String
- The track property value to match or not match.
Import
Asset Filters can be imported using the resource id
, e.g.
$ pulumi import azure:media/assetFilter:AssetFilter example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaServices/account1/assets/asset1/assetFilters/filter1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Classic pulumi/pulumi-azure
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
azurerm
Terraform Provider.