1. Packages
  2. Azure Classic
  3. API Docs
  4. media
  5. AccountFilter

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

azure.media.AccountFilter

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi

    Manages a Media Services Account 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 exampleAccountFilter = new azure.media.AccountFilter("example", {
        name: "Filter1",
        resourceGroupName: testAzurermResourceGroup.name,
        mediaServicesAccountName: test.name,
        firstQualityBitrate: 128000,
        presentationTimeRange: {
            startInUnits: 0,
            endInUnits: 15,
            presentationWindowInUnits: 90,
            liveBackoffInUnits: 0,
            unitTimescaleInMilliseconds: 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_account_filter = azure.media.AccountFilter("example",
        name="Filter1",
        resource_group_name=test_azurerm_resource_group["name"],
        media_services_account_name=test["name"],
        first_quality_bitrate=128000,
        presentation_time_range=azure.media.AccountFilterPresentationTimeRangeArgs(
            start_in_units=0,
            end_in_units=15,
            presentation_window_in_units=90,
            live_backoff_in_units=0,
            unit_timescale_in_milliseconds=1000,
            force_end=False,
        ),
        track_selections=[
            azure.media.AccountFilterTrackSelectionArgs(
                conditions=[
                    azure.media.AccountFilterTrackSelectionConditionArgs(
                        property="Type",
                        operation="Equal",
                        value="Audio",
                    ),
                    azure.media.AccountFilterTrackSelectionConditionArgs(
                        property="Language",
                        operation="NotEqual",
                        value="en",
                    ),
                    azure.media.AccountFilterTrackSelectionConditionArgs(
                        property="FourCC",
                        operation="NotEqual",
                        value="EC-3",
                    ),
                ],
            ),
            azure.media.AccountFilterTrackSelectionArgs(
                conditions=[
                    azure.media.AccountFilterTrackSelectionConditionArgs(
                        property="Type",
                        operation="Equal",
                        value="Video",
                    ),
                    azure.media.AccountFilterTrackSelectionConditionArgs(
                        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
    		}
    		_, 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
    		}
    		_, err = media.NewAccountFilter(ctx, "example", &media.AccountFilterArgs{
    			Name:                     pulumi.String("Filter1"),
    			ResourceGroupName:        pulumi.Any(testAzurermResourceGroup.Name),
    			MediaServicesAccountName: pulumi.Any(test.Name),
    			FirstQualityBitrate:      pulumi.Int(128000),
    			PresentationTimeRange: &media.AccountFilterPresentationTimeRangeArgs{
    				StartInUnits:                pulumi.Int(0),
    				EndInUnits:                  pulumi.Int(15),
    				PresentationWindowInUnits:   pulumi.Int(90),
    				LiveBackoffInUnits:          pulumi.Int(0),
    				UnitTimescaleInMilliseconds: pulumi.Int(1000),
    				ForceEnd:                    pulumi.Bool(false),
    			},
    			TrackSelections: media.AccountFilterTrackSelectionArray{
    				&media.AccountFilterTrackSelectionArgs{
    					Conditions: media.AccountFilterTrackSelectionConditionArray{
    						&media.AccountFilterTrackSelectionConditionArgs{
    							Property:  pulumi.String("Type"),
    							Operation: pulumi.String("Equal"),
    							Value:     pulumi.String("Audio"),
    						},
    						&media.AccountFilterTrackSelectionConditionArgs{
    							Property:  pulumi.String("Language"),
    							Operation: pulumi.String("NotEqual"),
    							Value:     pulumi.String("en"),
    						},
    						&media.AccountFilterTrackSelectionConditionArgs{
    							Property:  pulumi.String("FourCC"),
    							Operation: pulumi.String("NotEqual"),
    							Value:     pulumi.String("EC-3"),
    						},
    					},
    				},
    				&media.AccountFilterTrackSelectionArgs{
    					Conditions: media.AccountFilterTrackSelectionConditionArray{
    						&media.AccountFilterTrackSelectionConditionArgs{
    							Property:  pulumi.String("Type"),
    							Operation: pulumi.String("Equal"),
    							Value:     pulumi.String("Video"),
    						},
    						&media.AccountFilterTrackSelectionConditionArgs{
    							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 exampleAccountFilter = new Azure.Media.AccountFilter("example", new()
        {
            Name = "Filter1",
            ResourceGroupName = testAzurermResourceGroup.Name,
            MediaServicesAccountName = test.Name,
            FirstQualityBitrate = 128000,
            PresentationTimeRange = new Azure.Media.Inputs.AccountFilterPresentationTimeRangeArgs
            {
                StartInUnits = 0,
                EndInUnits = 15,
                PresentationWindowInUnits = 90,
                LiveBackoffInUnits = 0,
                UnitTimescaleInMilliseconds = 1000,
                ForceEnd = false,
            },
            TrackSelections = new[]
            {
                new Azure.Media.Inputs.AccountFilterTrackSelectionArgs
                {
                    Conditions = new[]
                    {
                        new Azure.Media.Inputs.AccountFilterTrackSelectionConditionArgs
                        {
                            Property = "Type",
                            Operation = "Equal",
                            Value = "Audio",
                        },
                        new Azure.Media.Inputs.AccountFilterTrackSelectionConditionArgs
                        {
                            Property = "Language",
                            Operation = "NotEqual",
                            Value = "en",
                        },
                        new Azure.Media.Inputs.AccountFilterTrackSelectionConditionArgs
                        {
                            Property = "FourCC",
                            Operation = "NotEqual",
                            Value = "EC-3",
                        },
                    },
                },
                new Azure.Media.Inputs.AccountFilterTrackSelectionArgs
                {
                    Conditions = new[]
                    {
                        new Azure.Media.Inputs.AccountFilterTrackSelectionConditionArgs
                        {
                            Property = "Type",
                            Operation = "Equal",
                            Value = "Video",
                        },
                        new Azure.Media.Inputs.AccountFilterTrackSelectionConditionArgs
                        {
                            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.AccountFilter;
    import com.pulumi.azure.media.AccountFilterArgs;
    import com.pulumi.azure.media.inputs.AccountFilterPresentationTimeRangeArgs;
    import com.pulumi.azure.media.inputs.AccountFilterTrackSelectionArgs;
    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 exampleAccountFilter = new AccountFilter("exampleAccountFilter", AccountFilterArgs.builder()
                .name("Filter1")
                .resourceGroupName(testAzurermResourceGroup.name())
                .mediaServicesAccountName(test.name())
                .firstQualityBitrate(128000)
                .presentationTimeRange(AccountFilterPresentationTimeRangeArgs.builder()
                    .startInUnits(0)
                    .endInUnits(15)
                    .presentationWindowInUnits(90)
                    .liveBackoffInUnits(0)
                    .unitTimescaleInMilliseconds(1000)
                    .forceEnd(false)
                    .build())
                .trackSelections(            
                    AccountFilterTrackSelectionArgs.builder()
                        .conditions(                    
                            AccountFilterTrackSelectionConditionArgs.builder()
                                .property("Type")
                                .operation("Equal")
                                .value("Audio")
                                .build(),
                            AccountFilterTrackSelectionConditionArgs.builder()
                                .property("Language")
                                .operation("NotEqual")
                                .value("en")
                                .build(),
                            AccountFilterTrackSelectionConditionArgs.builder()
                                .property("FourCC")
                                .operation("NotEqual")
                                .value("EC-3")
                                .build())
                        .build(),
                    AccountFilterTrackSelectionArgs.builder()
                        .conditions(                    
                            AccountFilterTrackSelectionConditionArgs.builder()
                                .property("Type")
                                .operation("Equal")
                                .value("Video")
                                .build(),
                            AccountFilterTrackSelectionConditionArgs.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
      exampleAccountFilter:
        type: azure:media:AccountFilter
        name: example
        properties:
          name: Filter1
          resourceGroupName: ${testAzurermResourceGroup.name}
          mediaServicesAccountName: ${test.name}
          firstQualityBitrate: 128000
          presentationTimeRange:
            startInUnits: 0
            endInUnits: 15
            presentationWindowInUnits: 90
            liveBackoffInUnits: 0
            unitTimescaleInMilliseconds: 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 AccountFilter Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AccountFilter(name: string, args: AccountFilterArgs, opts?: CustomResourceOptions);
    @overload
    def AccountFilter(resource_name: str,
                      args: AccountFilterArgs,
                      opts: Optional[ResourceOptions] = None)
    
    @overload
    def AccountFilter(resource_name: str,
                      opts: Optional[ResourceOptions] = None,
                      media_services_account_name: Optional[str] = None,
                      resource_group_name: Optional[str] = None,
                      first_quality_bitrate: Optional[int] = None,
                      name: Optional[str] = None,
                      presentation_time_range: Optional[AccountFilterPresentationTimeRangeArgs] = None,
                      track_selections: Optional[Sequence[AccountFilterTrackSelectionArgs]] = None)
    func NewAccountFilter(ctx *Context, name string, args AccountFilterArgs, opts ...ResourceOption) (*AccountFilter, error)
    public AccountFilter(string name, AccountFilterArgs args, CustomResourceOptions? opts = null)
    public AccountFilter(String name, AccountFilterArgs args)
    public AccountFilter(String name, AccountFilterArgs args, CustomResourceOptions options)
    
    type: azure:media:AccountFilter
    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 AccountFilterArgs
    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 AccountFilterArgs
    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 AccountFilterArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AccountFilterArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AccountFilterArgs
    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 accountFilterResource = new Azure.Media.AccountFilter("accountFilterResource", new()
    {
        MediaServicesAccountName = "string",
        ResourceGroupName = "string",
        FirstQualityBitrate = 0,
        Name = "string",
        PresentationTimeRange = new Azure.Media.Inputs.AccountFilterPresentationTimeRangeArgs
        {
            UnitTimescaleInMilliseconds = 0,
            EndInUnits = 0,
            ForceEnd = false,
            LiveBackoffInUnits = 0,
            PresentationWindowInUnits = 0,
            StartInUnits = 0,
        },
        TrackSelections = new[]
        {
            new Azure.Media.Inputs.AccountFilterTrackSelectionArgs
            {
                Conditions = new[]
                {
                    new Azure.Media.Inputs.AccountFilterTrackSelectionConditionArgs
                    {
                        Operation = "string",
                        Property = "string",
                        Value = "string",
                    },
                },
            },
        },
    });
    
    example, err := media.NewAccountFilter(ctx, "accountFilterResource", &media.AccountFilterArgs{
    	MediaServicesAccountName: pulumi.String("string"),
    	ResourceGroupName:        pulumi.String("string"),
    	FirstQualityBitrate:      pulumi.Int(0),
    	Name:                     pulumi.String("string"),
    	PresentationTimeRange: &media.AccountFilterPresentationTimeRangeArgs{
    		UnitTimescaleInMilliseconds: pulumi.Int(0),
    		EndInUnits:                  pulumi.Int(0),
    		ForceEnd:                    pulumi.Bool(false),
    		LiveBackoffInUnits:          pulumi.Int(0),
    		PresentationWindowInUnits:   pulumi.Int(0),
    		StartInUnits:                pulumi.Int(0),
    	},
    	TrackSelections: media.AccountFilterTrackSelectionArray{
    		&media.AccountFilterTrackSelectionArgs{
    			Conditions: media.AccountFilterTrackSelectionConditionArray{
    				&media.AccountFilterTrackSelectionConditionArgs{
    					Operation: pulumi.String("string"),
    					Property:  pulumi.String("string"),
    					Value:     pulumi.String("string"),
    				},
    			},
    		},
    	},
    })
    
    var accountFilterResource = new AccountFilter("accountFilterResource", AccountFilterArgs.builder()
        .mediaServicesAccountName("string")
        .resourceGroupName("string")
        .firstQualityBitrate(0)
        .name("string")
        .presentationTimeRange(AccountFilterPresentationTimeRangeArgs.builder()
            .unitTimescaleInMilliseconds(0)
            .endInUnits(0)
            .forceEnd(false)
            .liveBackoffInUnits(0)
            .presentationWindowInUnits(0)
            .startInUnits(0)
            .build())
        .trackSelections(AccountFilterTrackSelectionArgs.builder()
            .conditions(AccountFilterTrackSelectionConditionArgs.builder()
                .operation("string")
                .property("string")
                .value("string")
                .build())
            .build())
        .build());
    
    account_filter_resource = azure.media.AccountFilter("accountFilterResource",
        media_services_account_name="string",
        resource_group_name="string",
        first_quality_bitrate=0,
        name="string",
        presentation_time_range=azure.media.AccountFilterPresentationTimeRangeArgs(
            unit_timescale_in_milliseconds=0,
            end_in_units=0,
            force_end=False,
            live_backoff_in_units=0,
            presentation_window_in_units=0,
            start_in_units=0,
        ),
        track_selections=[azure.media.AccountFilterTrackSelectionArgs(
            conditions=[azure.media.AccountFilterTrackSelectionConditionArgs(
                operation="string",
                property="string",
                value="string",
            )],
        )])
    
    const accountFilterResource = new azure.media.AccountFilter("accountFilterResource", {
        mediaServicesAccountName: "string",
        resourceGroupName: "string",
        firstQualityBitrate: 0,
        name: "string",
        presentationTimeRange: {
            unitTimescaleInMilliseconds: 0,
            endInUnits: 0,
            forceEnd: false,
            liveBackoffInUnits: 0,
            presentationWindowInUnits: 0,
            startInUnits: 0,
        },
        trackSelections: [{
            conditions: [{
                operation: "string",
                property: "string",
                value: "string",
            }],
        }],
    });
    
    type: azure:media:AccountFilter
    properties:
        firstQualityBitrate: 0
        mediaServicesAccountName: string
        name: string
        presentationTimeRange:
            endInUnits: 0
            forceEnd: false
            liveBackoffInUnits: 0
            presentationWindowInUnits: 0
            startInUnits: 0
            unitTimescaleInMilliseconds: 0
        resourceGroupName: string
        trackSelections:
            - conditions:
                - operation: string
                  property: string
                  value: string
    

    AccountFilter 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 AccountFilter resource accepts the following input properties:

    MediaServicesAccountName string
    The Media Services account name. Changing this forces a new Account Filter to be created.
    ResourceGroupName string
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    FirstQualityBitrate int
    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 Account Filter. Changing this forces a new Account Filter to be created.
    PresentationTimeRange AccountFilterPresentationTimeRange
    A presentation_time_range block as defined below.
    TrackSelections List<AccountFilterTrackSelection>
    One or more track_selection blocks as defined below.
    MediaServicesAccountName string
    The Media Services account name. Changing this forces a new Account Filter to be created.
    ResourceGroupName string
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    FirstQualityBitrate int
    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 Account Filter. Changing this forces a new Account Filter to be created.
    PresentationTimeRange AccountFilterPresentationTimeRangeArgs
    A presentation_time_range block as defined below.
    TrackSelections []AccountFilterTrackSelectionArgs
    One or more track_selection blocks as defined below.
    mediaServicesAccountName String
    The Media Services account name. Changing this forces a new Account Filter to be created.
    resourceGroupName String
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    firstQualityBitrate Integer
    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 Account Filter. Changing this forces a new Account Filter to be created.
    presentationTimeRange AccountFilterPresentationTimeRange
    A presentation_time_range block as defined below.
    trackSelections List<AccountFilterTrackSelection>
    One or more track_selection blocks as defined below.
    mediaServicesAccountName string
    The Media Services account name. Changing this forces a new Account Filter to be created.
    resourceGroupName string
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    firstQualityBitrate number
    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 Account Filter. Changing this forces a new Account Filter to be created.
    presentationTimeRange AccountFilterPresentationTimeRange
    A presentation_time_range block as defined below.
    trackSelections AccountFilterTrackSelection[]
    One or more track_selection blocks as defined below.
    media_services_account_name str
    The Media Services account name. Changing this forces a new Account Filter to be created.
    resource_group_name str
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    first_quality_bitrate int
    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 Account Filter. Changing this forces a new Account Filter to be created.
    presentation_time_range AccountFilterPresentationTimeRangeArgs
    A presentation_time_range block as defined below.
    track_selections Sequence[AccountFilterTrackSelectionArgs]
    One or more track_selection blocks as defined below.
    mediaServicesAccountName String
    The Media Services account name. Changing this forces a new Account Filter to be created.
    resourceGroupName String
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    firstQualityBitrate Number
    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 Account Filter. Changing this forces a new Account Filter to be created.
    presentationTimeRange Property Map
    A presentation_time_range block as defined below.
    trackSelections List<Property Map>
    One or more track_selection blocks as defined below.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AccountFilter 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 AccountFilter Resource

    Get an existing AccountFilter 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?: AccountFilterState, opts?: CustomResourceOptions): AccountFilter
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            first_quality_bitrate: Optional[int] = None,
            media_services_account_name: Optional[str] = None,
            name: Optional[str] = None,
            presentation_time_range: Optional[AccountFilterPresentationTimeRangeArgs] = None,
            resource_group_name: Optional[str] = None,
            track_selections: Optional[Sequence[AccountFilterTrackSelectionArgs]] = None) -> AccountFilter
    func GetAccountFilter(ctx *Context, name string, id IDInput, state *AccountFilterState, opts ...ResourceOption) (*AccountFilter, error)
    public static AccountFilter Get(string name, Input<string> id, AccountFilterState? state, CustomResourceOptions? opts = null)
    public static AccountFilter get(String name, Output<String> id, AccountFilterState 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.
    The following state arguments are supported:
    FirstQualityBitrate int
    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.
    MediaServicesAccountName string
    The Media Services account name. Changing this forces a new Account Filter to be created.
    Name string
    The name which should be used for this Account Filter. Changing this forces a new Account Filter to be created.
    PresentationTimeRange AccountFilterPresentationTimeRange
    A presentation_time_range block as defined below.
    ResourceGroupName string
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    TrackSelections List<AccountFilterTrackSelection>
    One or more track_selection blocks as defined below.
    FirstQualityBitrate int
    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.
    MediaServicesAccountName string
    The Media Services account name. Changing this forces a new Account Filter to be created.
    Name string
    The name which should be used for this Account Filter. Changing this forces a new Account Filter to be created.
    PresentationTimeRange AccountFilterPresentationTimeRangeArgs
    A presentation_time_range block as defined below.
    ResourceGroupName string
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    TrackSelections []AccountFilterTrackSelectionArgs
    One or more track_selection blocks as defined below.
    firstQualityBitrate Integer
    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.
    mediaServicesAccountName String
    The Media Services account name. Changing this forces a new Account Filter to be created.
    name String
    The name which should be used for this Account Filter. Changing this forces a new Account Filter to be created.
    presentationTimeRange AccountFilterPresentationTimeRange
    A presentation_time_range block as defined below.
    resourceGroupName String
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    trackSelections List<AccountFilterTrackSelection>
    One or more track_selection blocks as defined below.
    firstQualityBitrate number
    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.
    mediaServicesAccountName string
    The Media Services account name. Changing this forces a new Account Filter to be created.
    name string
    The name which should be used for this Account Filter. Changing this forces a new Account Filter to be created.
    presentationTimeRange AccountFilterPresentationTimeRange
    A presentation_time_range block as defined below.
    resourceGroupName string
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    trackSelections AccountFilterTrackSelection[]
    One or more track_selection blocks as defined below.
    first_quality_bitrate int
    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.
    media_services_account_name str
    The Media Services account name. Changing this forces a new Account Filter to be created.
    name str
    The name which should be used for this Account Filter. Changing this forces a new Account Filter to be created.
    presentation_time_range AccountFilterPresentationTimeRangeArgs
    A presentation_time_range block as defined below.
    resource_group_name str
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    track_selections Sequence[AccountFilterTrackSelectionArgs]
    One or more track_selection blocks as defined below.
    firstQualityBitrate Number
    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.
    mediaServicesAccountName String
    The Media Services account name. Changing this forces a new Account Filter to be created.
    name String
    The name which should be used for this Account Filter. Changing this forces a new Account Filter to be created.
    presentationTimeRange Property Map
    A presentation_time_range block as defined below.
    resourceGroupName String
    The name of the Resource Group where the Account Filter should exist. Changing this forces a new Account Filter to be created.
    trackSelections List<Property Map>
    One or more track_selection blocks as defined below.

    Supporting Types

    AccountFilterPresentationTimeRange, AccountFilterPresentationTimeRangeArgs

    UnitTimescaleInMilliseconds int
    Specified as the number of milliseconds 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 the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.
    EndInUnits int
    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_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    ForceEnd 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.
    LiveBackoffInUnits int
    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_milliseconds. 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.
    PresentationWindowInUnits int
    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 by unit_timescale_in_milliseconds. For example, set presentation_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.
    StartInUnits int
    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_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    UnitTimescaleInMilliseconds int
    Specified as the number of milliseconds 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 the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.
    EndInUnits int
    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_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    ForceEnd 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.
    LiveBackoffInUnits int
    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_milliseconds. 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.
    PresentationWindowInUnits int
    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 by unit_timescale_in_milliseconds. For example, set presentation_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.
    StartInUnits int
    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_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    unitTimescaleInMilliseconds Integer
    Specified as the number of milliseconds 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 the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.
    endInUnits Integer
    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_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    forceEnd 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.
    liveBackoffInUnits Integer
    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_milliseconds. 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.
    presentationWindowInUnits Integer
    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 by unit_timescale_in_milliseconds. For example, set presentation_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.
    startInUnits Integer
    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_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    unitTimescaleInMilliseconds number
    Specified as the number of milliseconds 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 the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.
    endInUnits number
    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_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    forceEnd 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.
    liveBackoffInUnits number
    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_milliseconds. 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.
    presentationWindowInUnits number
    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 by unit_timescale_in_milliseconds. For example, set presentation_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.
    startInUnits number
    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_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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_in_milliseconds int
    Specified as the number of milliseconds 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 the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.
    end_in_units int
    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_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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_in_units int
    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_milliseconds. 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_in_units int
    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 by unit_timescale_in_milliseconds. For example, set presentation_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_units int
    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_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    unitTimescaleInMilliseconds Number
    Specified as the number of milliseconds 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 the unit_timescale_in_milliseconds in 1000. Or if you want to set start_in_units in 30 milliseconds, you would use a value of 30 when using the unit_timescale_in_milliseconds in 1. Applies timescale to start_in_units, start_timescale and presentation_window_in_timescale and live_backoff_in_timescale.
    endInUnits Number
    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_milliseconds, so an end_in_units of 180 would be for 3 minutes. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.
    forceEnd 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.
    liveBackoffInUnits Number
    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_milliseconds. 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.
    presentationWindowInUnits Number
    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 by unit_timescale_in_milliseconds. For example, set presentation_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.
    startInUnits Number
    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_milliseconds, so a start_in_units of 15 would be for 15 seconds. Use start_in_units and end_in_units to trim the fragments that will be in the playlist (manifest). For example, start_in_units set to 20 and end_in_units set to 60 using unit_timescale_in_milliseconds 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.

    AccountFilterTrackSelection, AccountFilterTrackSelectionArgs

    Conditions List<AccountFilterTrackSelectionCondition>
    One or more selection blocks as defined above.
    Conditions []AccountFilterTrackSelectionCondition
    One or more selection blocks as defined above.
    conditions List<AccountFilterTrackSelectionCondition>
    One or more selection blocks as defined above.
    conditions AccountFilterTrackSelectionCondition[]
    One or more selection blocks as defined above.
    conditions Sequence[AccountFilterTrackSelectionCondition]
    One or more selection blocks as defined above.
    conditions List<Property Map>
    One or more selection blocks as defined above.

    AccountFilterTrackSelectionCondition, AccountFilterTrackSelectionConditionArgs

    Operation string
    Property string
    Value string
    Operation string
    Property string
    Value string
    operation String
    property String
    value String
    operation string
    property string
    value string
    operation String
    property String
    value String

    Import

    Account Filters can be imported using the resource id, e.g.

    $ pulumi import azure:media/accountFilter:AccountFilter example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaServices/account1/accountFilters/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.
    azure logo

    We recommend using Azure Native.

    Azure Classic v5.81.0 published on Monday, Jun 24, 2024 by Pulumi