LiveOutput

class LiveOutput : KotlinCustomResource

The Live Output. 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",
});
});
package main
import (
media "github.com/pulumi/pulumi-azure-native-sdk/media"
"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"),
})
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 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(Map.of("fragmentsPerTsSegment", 5))
.liveEventName("myLiveEvent1")
.liveOutputName("myLiveOutput1")
.manifestName("testmanifest")
.resourceGroupName("mediaresources")
.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/0a6ec948-5a62-437d-b9df-934dc7c1b722/resourceGroups/mediaresources/providers/Microsoft.Media/mediaservices/slitestmedia10/liveevents/myLiveEvent1/liveoutputs/myLiveOutput1

Properties

Link copied to clipboard

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>

The asset that the live output will write to.

Link copied to clipboard
val created: Output<String>

The creation time the live output.

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

The description of the live output.

Link copied to clipboard
val hls: Output<HlsResponse>?

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

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val lastModified: Output<String>

The time the live output was last modified.

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

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

Link copied to clipboard
val name: Output<String>

The name of the resource

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

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

Link copied to clipboard

The provisioning state of the live output.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val resourceState: Output<String>

The resource state of the live output.

Link copied to clipboard
val type: Output<String>

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Link copied to clipboard
val urn: Output<String>