LiveOutput

class LiveOutput : KotlinCustomResource

The Live Output. Uses Azure REST API version 2022-11-01. In version 2.x of the Azure Native provider, it used API version 2022-11-01. Other available API versions: 2018-03-30-preview, 2018-06-01-preview, 2018-07-01, 2019-05-01-preview, 2020-05-01, 2021-06-01, 2021-11-01, 2022-08-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native media [ApiVersion]. See the ../../../version-guide/#accessing-any-api-version-via-local-packages for details.

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}

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 azureApiVersion: Output<String>

The Azure API version of the resource.

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

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.

Link copied to clipboard

The system metadata relating to this resource.

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>