Partilhar via


ArmMediaModelFactory.MediaLiveOutputData Method

Definition

Initializes a new instance of MediaLiveOutputData.

public static Azure.ResourceManager.Media.MediaLiveOutputData MediaLiveOutputData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, string assetName = default, TimeSpan? archiveWindowLength = default, TimeSpan? rewindWindowLength = default, string manifestName = default, int? hlsFragmentsPerTsSegment = default, long? outputSnapTime = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string provisioningState = default, Azure.ResourceManager.Media.Models.LiveOutputResourceState? resourceState = default);
static member MediaLiveOutputData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * string * Nullable<TimeSpan> * Nullable<TimeSpan> * string * Nullable<int> * Nullable<int64> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * Nullable<Azure.ResourceManager.Media.Models.LiveOutputResourceState> -> Azure.ResourceManager.Media.MediaLiveOutputData
Public Shared Function MediaLiveOutputData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional assetName As String = Nothing, Optional archiveWindowLength As Nullable(Of TimeSpan) = Nothing, Optional rewindWindowLength As Nullable(Of TimeSpan) = Nothing, Optional manifestName As String = Nothing, Optional hlsFragmentsPerTsSegment As Nullable(Of Integer) = Nothing, Optional outputSnapTime As Nullable(Of Long) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As Nullable(Of LiveOutputResourceState) = Nothing) As MediaLiveOutputData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

description
String

The description of the live output.

assetName
String

The asset that the live output will write to.

archiveWindowLength
Nullable<TimeSpan>

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.

rewindWindowLength
Nullable<TimeSpan>

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.

manifestName
String

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

hlsFragmentsPerTsSegment
Nullable<Int32>

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

outputSnapTime
Nullable<Int64>

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

createdOn
Nullable<DateTimeOffset>

The creation time the live output.

lastModifiedOn
Nullable<DateTimeOffset>

The time the live output was last modified.

provisioningState
String

The provisioning state of the live output.

resourceState
Nullable<LiveOutputResourceState>

The resource state of the live output.

Returns

A new MediaLiveOutputData instance for mocking.

Applies to