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

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi
azure logo

We recommend using Azure Native.

Viewing docs for Azure v4.42.0 (Older version)
published on Monday, Mar 9, 2026 by Pulumi

    Manages a Azure Media Live Event Output.

    Example Usage

    Example coming soon!

    Example coming soon!

    Example coming soon!

    import * as pulumi from "@pulumi/pulumi";
    import * as azure from "@pulumi/azure";
    
    const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West Europe"});
    const exampleAccount = new azure.storage.Account("exampleAccount", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        accountTier: "Standard",
        accountReplicationType: "GRS",
    });
    const exampleServiceAccount = new azure.media.ServiceAccount("exampleServiceAccount", {
        location: exampleResourceGroup.location,
        resourceGroupName: exampleResourceGroup.name,
        storageAccounts: [{
            id: exampleAccount.id,
            isPrimary: true,
        }],
    });
    const exampleAsset = new azure.media.Asset("exampleAsset", {
        resourceGroupName: exampleResourceGroup.name,
        mediaServicesAccountName: exampleServiceAccount.name,
    });
    const exampleLiveEvent = new azure.media.LiveEvent("exampleLiveEvent", {
        resourceGroupName: exampleResourceGroup.name,
        location: exampleResourceGroup.location,
        mediaServicesAccountName: exampleServiceAccount.name,
        description: "My Event Description",
        input: {
            streamingProtocol: "RTMP",
            keyFrameIntervalDuration: "PT6S",
            ipAccessControlAllows: [{
                name: "AllowAll",
                address: "0.0.0.0",
                subnetPrefixLength: 0,
            }],
        },
    });
    const exampleLiveEventOutput = new azure.media.LiveEventOutput("exampleLiveEventOutput", {
        liveEventId: exampleLiveEvent.id,
        archiveWindowLength: "PT5M",
        assetName: exampleAsset.name,
        description: "Test live output 1",
        manifestName: "testmanifest",
        outputSnapTimeInSeconds: 0,
        hlsFragmentsPerTsSegment: 5,
    });
    

    Example coming soon!

    Example coming soon!

    Create LiveEventOutput Resource

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

    Constructor syntax

    new LiveEventOutput(name: string, args: LiveEventOutputArgs, opts?: CustomResourceOptions);
    @overload
    def LiveEventOutput(resource_name: str,
                        args: LiveEventOutputArgs,
                        opts: Optional[ResourceOptions] = None)
    
    @overload
    def LiveEventOutput(resource_name: str,
                        opts: Optional[ResourceOptions] = None,
                        archive_window_duration: Optional[str] = None,
                        asset_name: Optional[str] = None,
                        live_event_id: Optional[str] = None,
                        description: Optional[str] = None,
                        hls_fragments_per_ts_segment: Optional[int] = None,
                        manifest_name: Optional[str] = None,
                        name: Optional[str] = None,
                        output_snap_time_in_seconds: Optional[int] = None)
    func NewLiveEventOutput(ctx *Context, name string, args LiveEventOutputArgs, opts ...ResourceOption) (*LiveEventOutput, error)
    public LiveEventOutput(string name, LiveEventOutputArgs args, CustomResourceOptions? opts = null)
    public LiveEventOutput(String name, LiveEventOutputArgs args)
    public LiveEventOutput(String name, LiveEventOutputArgs args, CustomResourceOptions options)
    
    type: azure:media:LiveEventOutput
    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 LiveEventOutputArgs
    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 LiveEventOutputArgs
    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 LiveEventOutputArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args LiveEventOutputArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args LiveEventOutputArgs
    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 liveEventOutputResource = new Azure.Media.LiveEventOutput("liveEventOutputResource", new()
    {
        ArchiveWindowDuration = "string",
        AssetName = "string",
        LiveEventId = "string",
        Description = "string",
        HlsFragmentsPerTsSegment = 0,
        ManifestName = "string",
        Name = "string",
        OutputSnapTimeInSeconds = 0,
    });
    
    example, err := media.NewLiveEventOutputResource(ctx, "liveEventOutputResource", &media.LiveEventOutputResourceArgs{
    	ArchiveWindowDuration:    pulumi.String("string"),
    	AssetName:                pulumi.String("string"),
    	LiveEventId:              pulumi.String("string"),
    	Description:              pulumi.String("string"),
    	HlsFragmentsPerTsSegment: pulumi.Int(0),
    	ManifestName:             pulumi.String("string"),
    	Name:                     pulumi.String("string"),
    	OutputSnapTimeInSeconds:  pulumi.Int(0),
    })
    
    var liveEventOutputResource = new LiveEventOutput("liveEventOutputResource", LiveEventOutputArgs.builder()
        .archiveWindowDuration("string")
        .assetName("string")
        .liveEventId("string")
        .description("string")
        .hlsFragmentsPerTsSegment(0)
        .manifestName("string")
        .name("string")
        .outputSnapTimeInSeconds(0)
        .build());
    
    live_event_output_resource = azure.media.LiveEventOutput("liveEventOutputResource",
        archive_window_duration="string",
        asset_name="string",
        live_event_id="string",
        description="string",
        hls_fragments_per_ts_segment=0,
        manifest_name="string",
        name="string",
        output_snap_time_in_seconds=0)
    
    const liveEventOutputResource = new azure.media.LiveEventOutput("liveEventOutputResource", {
        archiveWindowDuration: "string",
        assetName: "string",
        liveEventId: "string",
        description: "string",
        hlsFragmentsPerTsSegment: 0,
        manifestName: "string",
        name: "string",
        outputSnapTimeInSeconds: 0,
    });
    
    type: azure:media:LiveEventOutput
    properties:
        archiveWindowDuration: string
        assetName: string
        description: string
        hlsFragmentsPerTsSegment: 0
        liveEventId: string
        manifestName: string
        name: string
        outputSnapTimeInSeconds: 0
    

    LiveEventOutput Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.

    The LiveEventOutput resource accepts the following input properties:

    ArchiveWindowDuration string
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    AssetName string
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    LiveEventId string
    The id of the live event. Changing this forces a new Live Output to be created.
    Description string
    The description of the live output. Changing this forces a new Live Output to be created.
    HlsFragmentsPerTsSegment int
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    ManifestName string
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    Name string
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    OutputSnapTimeInSeconds int
    ArchiveWindowDuration string
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    AssetName string
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    LiveEventId string
    The id of the live event. Changing this forces a new Live Output to be created.
    Description string
    The description of the live output. Changing this forces a new Live Output to be created.
    HlsFragmentsPerTsSegment int
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    ManifestName string
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    Name string
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    OutputSnapTimeInSeconds int
    archiveWindowDuration String
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    assetName String
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    liveEventId String
    The id of the live event. Changing this forces a new Live Output to be created.
    description String
    The description of the live output. Changing this forces a new Live Output to be created.
    hlsFragmentsPerTsSegment Integer
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    manifestName String
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name String
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    outputSnapTimeInSeconds Integer
    archiveWindowDuration string
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    assetName string
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    liveEventId string
    The id of the live event. Changing this forces a new Live Output to be created.
    description string
    The description of the live output. Changing this forces a new Live Output to be created.
    hlsFragmentsPerTsSegment number
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    manifestName string
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name string
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    outputSnapTimeInSeconds number
    archive_window_duration str
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    asset_name str
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    live_event_id str
    The id of the live event. Changing this forces a new Live Output to be created.
    description str
    The description of the live output. Changing this forces a new Live Output to be created.
    hls_fragments_per_ts_segment int
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    manifest_name str
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name str
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    output_snap_time_in_seconds int
    archiveWindowDuration String
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    assetName String
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    liveEventId String
    The id of the live event. Changing this forces a new Live Output to be created.
    description String
    The description of the live output. Changing this forces a new Live Output to be created.
    hlsFragmentsPerTsSegment Number
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    manifestName String
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name String
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    outputSnapTimeInSeconds Number

    Outputs

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

    Get an existing LiveEventOutput 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?: LiveEventOutputState, opts?: CustomResourceOptions): LiveEventOutput
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            archive_window_duration: Optional[str] = None,
            asset_name: Optional[str] = None,
            description: Optional[str] = None,
            hls_fragments_per_ts_segment: Optional[int] = None,
            live_event_id: Optional[str] = None,
            manifest_name: Optional[str] = None,
            name: Optional[str] = None,
            output_snap_time_in_seconds: Optional[int] = None) -> LiveEventOutput
    func GetLiveEventOutput(ctx *Context, name string, id IDInput, state *LiveEventOutputState, opts ...ResourceOption) (*LiveEventOutput, error)
    public static LiveEventOutput Get(string name, Input<string> id, LiveEventOutputState? state, CustomResourceOptions? opts = null)
    public static LiveEventOutput get(String name, Output<String> id, LiveEventOutputState state, CustomResourceOptions options)
    resources:  _:    type: azure:media:LiveEventOutput    get:      id: ${id}
    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:
    ArchiveWindowDuration string
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    AssetName string
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    Description string
    The description of the live output. Changing this forces a new Live Output to be created.
    HlsFragmentsPerTsSegment int
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    LiveEventId string
    The id of the live event. Changing this forces a new Live Output to be created.
    ManifestName string
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    Name string
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    OutputSnapTimeInSeconds int
    ArchiveWindowDuration string
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    AssetName string
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    Description string
    The description of the live output. Changing this forces a new Live Output to be created.
    HlsFragmentsPerTsSegment int
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    LiveEventId string
    The id of the live event. Changing this forces a new Live Output to be created.
    ManifestName string
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    Name string
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    OutputSnapTimeInSeconds int
    archiveWindowDuration String
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    assetName String
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    description String
    The description of the live output. Changing this forces a new Live Output to be created.
    hlsFragmentsPerTsSegment Integer
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    liveEventId String
    The id of the live event. Changing this forces a new Live Output to be created.
    manifestName String
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name String
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    outputSnapTimeInSeconds Integer
    archiveWindowDuration string
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    assetName string
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    description string
    The description of the live output. Changing this forces a new Live Output to be created.
    hlsFragmentsPerTsSegment number
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    liveEventId string
    The id of the live event. Changing this forces a new Live Output to be created.
    manifestName string
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name string
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    outputSnapTimeInSeconds number
    archive_window_duration str
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    asset_name str
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    description str
    The description of the live output. Changing this forces a new Live Output to be created.
    hls_fragments_per_ts_segment int
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    live_event_id str
    The id of the live event. Changing this forces a new Live Output to be created.
    manifest_name str
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name str
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    output_snap_time_in_seconds int
    archiveWindowDuration String
    ISO 8601 time between 1 minute to 25 hours to indicate the maximum content length that can be archived in the asset for this live output. This also sets the maximum content length for the rewind window. For example, use PT1H30M to indicate 1 hour and 30 minutes of archive window. Changing this forces a new Live Output to be created.
    assetName String
    The asset that the live output will write to. Changing this forces a new Live Output to be created.
    description String
    The description of the live output. Changing this forces a new Live Output to be created.
    hlsFragmentsPerTsSegment Number
    The number of fragments in an HTTP Live Streaming (HLS) TS segment in the output of the live event. This value does not affect the packing ratio for HLS CMAF output. Changing this forces a new Live Output to be created.
    liveEventId String
    The id of the live event. Changing this forces a new Live Output to be created.
    manifestName String
    The manifest file name. If not provided, the service will generate one automatically. Changing this forces a new Live Output to be created.
    name String
    The name which should be used for this Live Event Output. Changing this forces a new Live Output to be created.
    outputSnapTimeInSeconds Number

    Import

    Live Outputs can be imported using the resource id, e.g.

     $ pulumi import azure:media/liveEventOutput:LiveEventOutput example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.Media/mediaservices/account1/liveevents/event1/liveoutputs/output1
    

    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.

    Viewing docs for Azure v4.42.0 (Older version)
    published on Monday, Mar 9, 2026 by Pulumi
      Try Pulumi Cloud free. Your team will thank you.