azure-native.media.LiveOutput

The Live Output. API Version: 2020-05-01.

Example Usage

Create a LiveOutput

using System.Collections.Generic;
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/go/azure/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 pulumi
import pulumi_azure_native as azure_native

live_output = azure_native.media.LiveOutput("liveOutput",
    account_name="slitestmedia10",
    archive_window_length="PT5M",
    asset_name="6f3264f5-a189-48b4-a29a-a40f22575212",
    description="test live output 1",
    hls=azure_native.media.HlsArgs(
        fragments_per_ts_segment=5,
    ),
    live_event_name="myLiveEvent1",
    live_output_name="myLiveOutput1",
    manifest_name="testmanifest",
    resource_group_name="mediaresources")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";

const liveOutput = new azure_native.media.LiveOutput("liveOutput", {
    accountName: "slitestmedia10",
    archiveWindowLength: "PT5M",
    assetName: "6f3264f5-a189-48b4-a29a-a40f22575212",
    description: "test live output 1",
    hls: {
        fragmentsPerTsSegment: 5,
    },
    liveEventName: "myLiveEvent1",
    liveOutputName: "myLiveOutput1",
    manifestName: "testmanifest",
    resourceGroupName: "mediaresources",
});
resources:
  liveOutput:
    type: azure-native:media:LiveOutput
    properties:
      accountName: slitestmedia10
      archiveWindowLength: PT5M
      assetName: 6f3264f5-a189-48b4-a29a-a40f22575212
      description: test live output 1
      hls:
        fragmentsPerTsSegment: 5
      liveEventName: myLiveEvent1
      liveOutputName: myLiveOutput1
      manifestName: testmanifest
      resourceGroupName: mediaresources

Create LiveOutput Resource

new LiveOutput(name: string, args: LiveOutputArgs, opts?: CustomResourceOptions);
@overload
def LiveOutput(resource_name: str,
               opts: Optional[ResourceOptions] = None,
               account_name: Optional[str] = None,
               archive_window_length: Optional[str] = None,
               asset_name: Optional[str] = None,
               description: Optional[str] = None,
               hls: Optional[HlsArgs] = None,
               live_event_name: Optional[str] = None,
               live_output_name: Optional[str] = None,
               manifest_name: Optional[str] = None,
               output_snap_time: Optional[float] = None,
               resource_group_name: Optional[str] = None)
@overload
def LiveOutput(resource_name: str,
               args: LiveOutputArgs,
               opts: Optional[ResourceOptions] = None)
func NewLiveOutput(ctx *Context, name string, args LiveOutputArgs, opts ...ResourceOption) (*LiveOutput, error)
public LiveOutput(string name, LiveOutputArgs args, CustomResourceOptions? opts = null)
public LiveOutput(String name, LiveOutputArgs args)
public LiveOutput(String name, LiveOutputArgs args, CustomResourceOptions options)
type: azure-native:media:LiveOutput
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args LiveOutputArgs
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 LiveOutputArgs
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 LiveOutputArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args LiveOutputArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args LiveOutputArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

LiveOutput 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 LiveOutput resource accepts the following input properties:

AccountName string

The Media Services account name.

ArchiveWindowLength 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.

AssetName string

The asset that the live output will write to.

LiveEventName string

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

ResourceGroupName string

The name of the resource group within the Azure subscription.

Description string

The description of the live output.

Hls Pulumi.AzureNative.Media.Inputs.HlsArgs

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

LiveOutputName string

The name of the live output.

ManifestName string

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

OutputSnapTime double

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

AccountName string

The Media Services account name.

ArchiveWindowLength 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.

AssetName string

The asset that the live output will write to.

LiveEventName string

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

ResourceGroupName string

The name of the resource group within the Azure subscription.

Description string

The description of the live output.

Hls HlsArgs

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

LiveOutputName string

The name of the live output.

ManifestName string

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

OutputSnapTime float64

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

accountName String

The Media Services account name.

archiveWindowLength 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.

assetName String

The asset that the live output will write to.

liveEventName String

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

resourceGroupName String

The name of the resource group within the Azure subscription.

description String

The description of the live output.

hls HlsArgs

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

liveOutputName String

The name of the live output.

manifestName String

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

outputSnapTime Double

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

accountName string

The Media Services account name.

archiveWindowLength 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.

assetName string

The asset that the live output will write to.

liveEventName string

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

resourceGroupName string

The name of the resource group within the Azure subscription.

description string

The description of the live output.

hls HlsArgs

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

liveOutputName string

The name of the live output.

manifestName string

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

outputSnapTime number

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

account_name str

The Media Services account name.

archive_window_length 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.

asset_name str

The asset that the live output will write to.

live_event_name str

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

resource_group_name str

The name of the resource group within the Azure subscription.

description str

The description of the live output.

hls HlsArgs

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

live_output_name str

The name of the live output.

manifest_name str

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

output_snap_time float

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

accountName String

The Media Services account name.

archiveWindowLength 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.

assetName String

The asset that the live output will write to.

liveEventName String

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

resourceGroupName String

The name of the resource group within the Azure subscription.

description String

The description of the live output.

hls Property Map

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

liveOutputName String

The name of the live output.

manifestName String

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

outputSnapTime Number

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

Outputs

All input properties are implicitly available as output properties. Additionally, the LiveOutput resource produces the following output properties:

Created string

The creation time the live output.

Id string

The provider-assigned unique ID for this managed resource.

LastModified string

The time the live output was last modified.

Name string

The name of the resource

ProvisioningState string

The provisioning state of the live output.

ResourceState string

The resource state of the live output.

Type string

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

Created string

The creation time the live output.

Id string

The provider-assigned unique ID for this managed resource.

LastModified string

The time the live output was last modified.

Name string

The name of the resource

ProvisioningState string

The provisioning state of the live output.

ResourceState string

The resource state of the live output.

Type string

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

created String

The creation time the live output.

id String

The provider-assigned unique ID for this managed resource.

lastModified String

The time the live output was last modified.

name String

The name of the resource

provisioningState String

The provisioning state of the live output.

resourceState String

The resource state of the live output.

type String

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

created string

The creation time the live output.

id string

The provider-assigned unique ID for this managed resource.

lastModified string

The time the live output was last modified.

name string

The name of the resource

provisioningState string

The provisioning state of the live output.

resourceState string

The resource state of the live output.

type string

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

created str

The creation time the live output.

id str

The provider-assigned unique ID for this managed resource.

last_modified str

The time the live output was last modified.

name str

The name of the resource

provisioning_state str

The provisioning state of the live output.

resource_state str

The resource state of the live output.

type str

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

created String

The creation time the live output.

id String

The provider-assigned unique ID for this managed resource.

lastModified String

The time the live output was last modified.

name String

The name of the resource

provisioningState String

The provisioning state of the live output.

resourceState String

The resource state of the live output.

type String

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

Supporting Types

Hls

FragmentsPerTsSegment 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.

FragmentsPerTsSegment 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.

fragmentsPerTsSegment 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.

fragmentsPerTsSegment 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.

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.

fragmentsPerTsSegment 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.

HlsResponse

FragmentsPerTsSegment 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.

FragmentsPerTsSegment 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.

fragmentsPerTsSegment 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.

fragmentsPerTsSegment 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.

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.

fragmentsPerTsSegment 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.

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 

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0