LiveOutputArgs

data class LiveOutputArgs(val accountName: Output<String>? = null, val archiveWindowLength: Output<String>? = null, val assetName: Output<String>? = null, val description: Output<String>? = null, val hls: Output<HlsArgs>? = null, val liveEventName: Output<String>? = null, val liveOutputName: Output<String>? = null, val manifestName: Output<String>? = null, val outputSnapTime: Output<Double>? = null, val resourceGroupName: Output<String>? = null, val rewindWindowLength: Output<String>? = null) : ConvertibleToJava<LiveOutputArgs>

The Live Output. Uses Azure REST API version 2022-11-01. In version 1.x of the Azure Native provider, it used API version 2020-05-01.

Example Usage

Create a LiveOutput

using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var liveOutput = new AzureNative.Media.LiveOutput("liveOutput", new()
{
AccountName = "slitestmedia10",
ArchiveWindowLength = "PT5M",
AssetName = "6f3264f5-a189-48b4-a29a-a40f22575212",
Description = "test live output 1",
Hls = new AzureNative.Media.Inputs.HlsArgs
{
FragmentsPerTsSegment = 5,
},
LiveEventName = "myLiveEvent1",
LiveOutputName = "myLiveOutput1",
ManifestName = "testmanifest",
ResourceGroupName = "mediaresources",
RewindWindowLength = "PT4M",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := media.NewLiveOutput(ctx, "liveOutput", &media.LiveOutputArgs{
AccountName: pulumi.String("slitestmedia10"),
ArchiveWindowLength: pulumi.String("PT5M"),
AssetName: pulumi.String("6f3264f5-a189-48b4-a29a-a40f22575212"),
Description: pulumi.String("test live output 1"),
Hls: &media.HlsArgs{
FragmentsPerTsSegment: pulumi.Int(5),
},
LiveEventName: pulumi.String("myLiveEvent1"),
LiveOutputName: pulumi.String("myLiveOutput1"),
ManifestName: pulumi.String("testmanifest"),
ResourceGroupName: pulumi.String("mediaresources"),
RewindWindowLength: pulumi.String("PT4M"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.media.LiveOutput;
import com.pulumi.azurenative.media.LiveOutputArgs;
import com.pulumi.azurenative.media.inputs.HlsArgs;
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 liveOutput = new LiveOutput("liveOutput", LiveOutputArgs.builder()
.accountName("slitestmedia10")
.archiveWindowLength("PT5M")
.assetName("6f3264f5-a189-48b4-a29a-a40f22575212")
.description("test live output 1")
.hls(HlsArgs.builder()
.fragmentsPerTsSegment(5)
.build())
.liveEventName("myLiveEvent1")
.liveOutputName("myLiveOutput1")
.manifestName("testmanifest")
.resourceGroupName("mediaresources")
.rewindWindowLength("PT4M")
.build());
}
}

Import

An existing resource can be imported using its type token, name, and identifier, e.g.

$ pulumi import azure-native:media:LiveOutput myLiveOutput1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaservices/{accountName}/liveEvents/{liveEventName}/liveOutputs/{liveOutputName}

Constructors

Link copied to clipboard
constructor(accountName: Output<String>? = null, archiveWindowLength: Output<String>? = null, assetName: Output<String>? = null, description: Output<String>? = null, hls: Output<HlsArgs>? = null, liveEventName: Output<String>? = null, liveOutputName: Output<String>? = null, manifestName: Output<String>? = null, outputSnapTime: Output<Double>? = null, resourceGroupName: Output<String>? = null, rewindWindowLength: Output<String>? = null)

Properties

Link copied to clipboard
val accountName: Output<String>? = null

The Media Services account name.

Link copied to clipboard
val archiveWindowLength: Output<String>? = null

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.

Link copied to clipboard
val assetName: Output<String>? = null

The asset that the live output will write to.

Link copied to clipboard
val description: Output<String>? = null

The description of the live output.

Link copied to clipboard
val hls: Output<HlsArgs>? = null

HTTP Live Streaming (HLS) packing setting for the live output.

Link copied to clipboard
val liveEventName: Output<String>? = null

The name of the live event, maximum length is 32.

Link copied to clipboard
val liveOutputName: Output<String>? = null

The name of the live output.

Link copied to clipboard
val manifestName: Output<String>? = null

The manifest file name. If not provided, the service will generate one automatically.

Link copied to clipboard
val outputSnapTime: Output<Double>? = null

The initial timestamp that the live output will start at, any content before this value will not be archived.

Link copied to clipboard
val resourceGroupName: Output<String>? = null

The name of the resource group within the Azure subscription.

Link copied to clipboard
val rewindWindowLength: Output<String>? = null

ISO 8601 time between 1 minute to the duration of archiveWindowLength 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.

Functions

Link copied to clipboard
open override fun toJava(): LiveOutputArgs