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

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

azure.media.LiveEventOutput

Explore with Pulumi AI

azure logo

We recommend using Azure Native.

Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi

    Manages a Azure Media Live Event Output.

    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: "inputAsset",
        resourceGroupName: example.name,
        mediaServicesAccountName: exampleServiceAccount.name,
    });
    const exampleLiveEvent = new azure.media.LiveEvent("example", {
        name: "exampleevent",
        resourceGroupName: example.name,
        location: example.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("example", {
        name: "exampleoutput",
        liveEventId: exampleLiveEvent.id,
        archiveWindowDuration: "PT5M",
        assetName: exampleAsset.name,
        description: "Test live output 1",
        manifestName: "testmanifest",
        outputSnapTimeInSeconds: 0,
        hlsFragmentsPerTsSegment: 5,
        rewindWindowDuration: "PT5M",
    });
    
    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="inputAsset",
        resource_group_name=example.name,
        media_services_account_name=example_service_account.name)
    example_live_event = azure.media.LiveEvent("example",
        name="exampleevent",
        resource_group_name=example.name,
        location=example.location,
        media_services_account_name=example_service_account.name,
        description="My Event Description",
        input=azure.media.LiveEventInputArgs(
            streaming_protocol="RTMP",
            key_frame_interval_duration="PT6S",
            ip_access_control_allows=[azure.media.LiveEventInputIpAccessControlAllowArgs(
                name="AllowAll",
                address="0.0.0.0",
                subnet_prefix_length=0,
            )],
        ))
    example_live_event_output = azure.media.LiveEventOutput("example",
        name="exampleoutput",
        live_event_id=example_live_event.id,
        archive_window_duration="PT5M",
        asset_name=example_asset.name,
        description="Test live output 1",
        manifest_name="testmanifest",
        output_snap_time_in_seconds=0,
        hls_fragments_per_ts_segment=5,
        rewind_window_duration="PT5M")
    
    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("inputAsset"),
    			ResourceGroupName:        example.Name,
    			MediaServicesAccountName: exampleServiceAccount.Name,
    		})
    		if err != nil {
    			return err
    		}
    		exampleLiveEvent, err := media.NewLiveEvent(ctx, "example", &media.LiveEventArgs{
    			Name:                     pulumi.String("exampleevent"),
    			ResourceGroupName:        example.Name,
    			Location:                 example.Location,
    			MediaServicesAccountName: exampleServiceAccount.Name,
    			Description:              pulumi.String("My Event Description"),
    			Input: &media.LiveEventInputTypeArgs{
    				StreamingProtocol:        pulumi.String("RTMP"),
    				KeyFrameIntervalDuration: pulumi.String("PT6S"),
    				IpAccessControlAllows: media.LiveEventInputIpAccessControlAllowArray{
    					&media.LiveEventInputIpAccessControlAllowArgs{
    						Name:               pulumi.String("AllowAll"),
    						Address:            pulumi.String("0.0.0.0"),
    						SubnetPrefixLength: pulumi.Int(0),
    					},
    				},
    			},
    		})
    		if err != nil {
    			return err
    		}
    		_, err = media.NewLiveEventOutput(ctx, "example", &media.LiveEventOutputArgs{
    			Name:                     pulumi.String("exampleoutput"),
    			LiveEventId:              exampleLiveEvent.ID(),
    			ArchiveWindowDuration:    pulumi.String("PT5M"),
    			AssetName:                exampleAsset.Name,
    			Description:              pulumi.String("Test live output 1"),
    			ManifestName:             pulumi.String("testmanifest"),
    			OutputSnapTimeInSeconds:  pulumi.Int(0),
    			HlsFragmentsPerTsSegment: pulumi.Int(5),
    			RewindWindowDuration:     pulumi.String("PT5M"),
    		})
    		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 = "inputAsset",
            ResourceGroupName = example.Name,
            MediaServicesAccountName = exampleServiceAccount.Name,
        });
    
        var exampleLiveEvent = new Azure.Media.LiveEvent("example", new()
        {
            Name = "exampleevent",
            ResourceGroupName = example.Name,
            Location = example.Location,
            MediaServicesAccountName = exampleServiceAccount.Name,
            Description = "My Event Description",
            Input = new Azure.Media.Inputs.LiveEventInputArgs
            {
                StreamingProtocol = "RTMP",
                KeyFrameIntervalDuration = "PT6S",
                IpAccessControlAllows = new[]
                {
                    new Azure.Media.Inputs.LiveEventInputIpAccessControlAllowArgs
                    {
                        Name = "AllowAll",
                        Address = "0.0.0.0",
                        SubnetPrefixLength = 0,
                    },
                },
            },
        });
    
        var exampleLiveEventOutput = new Azure.Media.LiveEventOutput("example", new()
        {
            Name = "exampleoutput",
            LiveEventId = exampleLiveEvent.Id,
            ArchiveWindowDuration = "PT5M",
            AssetName = exampleAsset.Name,
            Description = "Test live output 1",
            ManifestName = "testmanifest",
            OutputSnapTimeInSeconds = 0,
            HlsFragmentsPerTsSegment = 5,
            RewindWindowDuration = "PT5M",
        });
    
    });
    
    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.LiveEvent;
    import com.pulumi.azure.media.LiveEventArgs;
    import com.pulumi.azure.media.inputs.LiveEventInputArgs;
    import com.pulumi.azure.media.LiveEventOutput;
    import com.pulumi.azure.media.LiveEventOutputArgs;
    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("inputAsset")
                .resourceGroupName(example.name())
                .mediaServicesAccountName(exampleServiceAccount.name())
                .build());
    
            var exampleLiveEvent = new LiveEvent("exampleLiveEvent", LiveEventArgs.builder()        
                .name("exampleevent")
                .resourceGroupName(example.name())
                .location(example.location())
                .mediaServicesAccountName(exampleServiceAccount.name())
                .description("My Event Description")
                .input(LiveEventInputArgs.builder()
                    .streamingProtocol("RTMP")
                    .keyFrameIntervalDuration("PT6S")
                    .ipAccessControlAllows(LiveEventInputIpAccessControlAllowArgs.builder()
                        .name("AllowAll")
                        .address("0.0.0.0")
                        .subnetPrefixLength(0)
                        .build())
                    .build())
                .build());
    
            var exampleLiveEventOutput = new LiveEventOutput("exampleLiveEventOutput", LiveEventOutputArgs.builder()        
                .name("exampleoutput")
                .liveEventId(exampleLiveEvent.id())
                .archiveWindowDuration("PT5M")
                .assetName(exampleAsset.name())
                .description("Test live output 1")
                .manifestName("testmanifest")
                .outputSnapTimeInSeconds(0)
                .hlsFragmentsPerTsSegment(5)
                .rewindWindowDuration("PT5M")
                .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: inputAsset
          resourceGroupName: ${example.name}
          mediaServicesAccountName: ${exampleServiceAccount.name}
      exampleLiveEvent:
        type: azure:media:LiveEvent
        name: example
        properties:
          name: exampleevent
          resourceGroupName: ${example.name}
          location: ${example.location}
          mediaServicesAccountName: ${exampleServiceAccount.name}
          description: My Event Description
          input:
            streamingProtocol: RTMP
            keyFrameIntervalDuration: PT6S
            ipAccessControlAllows:
              - name: AllowAll
                address: 0.0.0.0
                subnetPrefixLength: 0
      exampleLiveEventOutput:
        type: azure:media:LiveEventOutput
        name: example
        properties:
          name: exampleoutput
          liveEventId: ${exampleLiveEvent.id}
          archiveWindowDuration: PT5M
          assetName: ${exampleAsset.name}
          description: Test live output 1
          manifestName: testmanifest
          outputSnapTimeInSeconds: 0
          hlsFragmentsPerTsSegment: 5
          rewindWindowDuration: PT5M
    

    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,
                        rewind_window_duration: Optional[str] = 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.

    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,
        RewindWindowDuration = "string",
    });
    
    example, err := media.NewLiveEventOutput(ctx, "liveEventOutputResource", &media.LiveEventOutputArgs{
    	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),
    	RewindWindowDuration:     pulumi.String("string"),
    })
    
    var liveEventOutputResource = new LiveEventOutput("liveEventOutputResource", LiveEventOutputArgs.builder()        
        .archiveWindowDuration("string")
        .assetName("string")
        .liveEventId("string")
        .description("string")
        .hlsFragmentsPerTsSegment(0)
        .manifestName("string")
        .name("string")
        .outputSnapTimeInSeconds(0)
        .rewindWindowDuration("string")
        .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,
        rewind_window_duration="string")
    
    const liveEventOutputResource = new azure.media.LiveEventOutput("liveEventOutputResource", {
        archiveWindowDuration: "string",
        assetName: "string",
        liveEventId: "string",
        description: "string",
        hlsFragmentsPerTsSegment: 0,
        manifestName: "string",
        name: "string",
        outputSnapTimeInSeconds: 0,
        rewindWindowDuration: "string",
    });
    
    type: azure:media:LiveEventOutput
    properties:
        archiveWindowDuration: string
        assetName: string
        description: string
        hlsFragmentsPerTsSegment: 0
        liveEventId: string
        manifestName: string
        name: string
        outputSnapTimeInSeconds: 0
        rewindWindowDuration: string
    

    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

    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    RewindWindowDuration string
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    RewindWindowDuration string
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewindWindowDuration String
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewindWindowDuration string
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewind_window_duration str
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewindWindowDuration String
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.

    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,
            rewind_window_duration: Optional[str] = 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)
    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:
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    RewindWindowDuration string
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    RewindWindowDuration string
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewindWindowDuration String
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewindWindowDuration string
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewind_window_duration str
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.
    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
    The initial timestamp that the live output will start at, any content before this value will not be archived. Changing this forces a new Live Output to be created.
    rewindWindowDuration String
    ISO 8601 time between 1 minute to the duration of archive_window_duration to control seek-able window length during Live. The service won't use this property once LiveOutput stops. The archived VOD will have full content with original ArchiveWindowLength. For example, use PT1H30M to indicate 1 hour and 30 minutes of rewind window length. Service will use implicit default value 30m only if Live Event enables LL. Changing this forces a new Live Output to be created.

    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.

    Azure Classic v5.72.0 published on Monday, Apr 15, 2024 by Pulumi