ArmMediaModelFactory.MediaLiveEventData Method

Definition

Initializes a new instance of MediaLiveEventData.

public static Azure.ResourceManager.Media.MediaLiveEventData MediaLiveEventData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string description = default, Azure.ResourceManager.Media.Models.LiveEventInput input = default, Azure.ResourceManager.Media.Models.LiveEventPreview preview = default, Azure.ResourceManager.Media.Models.LiveEventEncoding encoding = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.LiveEventTranscription> transcriptions = default, string provisioningState = default, Azure.ResourceManager.Media.Models.LiveEventResourceState? resourceState = default, Azure.ResourceManager.Media.Models.CrossSiteAccessPolicies crossSiteAccessPolicies = default, bool? useStaticHostname = default, string hostnamePrefix = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.StreamOptionsFlag> streamOptions = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default);
static member MediaLiveEventData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * Azure.ResourceManager.Media.Models.LiveEventInput * Azure.ResourceManager.Media.Models.LiveEventPreview * Azure.ResourceManager.Media.Models.LiveEventEncoding * seq<Azure.ResourceManager.Media.Models.LiveEventTranscription> * string * Nullable<Azure.ResourceManager.Media.Models.LiveEventResourceState> * Azure.ResourceManager.Media.Models.CrossSiteAccessPolicies * Nullable<bool> * string * seq<Azure.ResourceManager.Media.Models.StreamOptionsFlag> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> -> Azure.ResourceManager.Media.MediaLiveEventData
Public Shared Function MediaLiveEventData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional description As String = Nothing, Optional input As LiveEventInput = Nothing, Optional preview As LiveEventPreview = Nothing, Optional encoding As LiveEventEncoding = Nothing, Optional transcriptions As IEnumerable(Of LiveEventTranscription) = Nothing, Optional provisioningState As String = Nothing, Optional resourceState As Nullable(Of LiveEventResourceState) = Nothing, Optional crossSiteAccessPolicies As CrossSiteAccessPolicies = Nothing, Optional useStaticHostname As Nullable(Of Boolean) = Nothing, Optional hostnamePrefix As String = Nothing, Optional streamOptions As IEnumerable(Of StreamOptionsFlag) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing) As MediaLiveEventData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

description
String

A description for the live event.

input
LiveEventInput

Live event input settings. It defines how the live event receives input from a contribution encoder.

preview
LiveEventPreview

Live event preview settings. Preview allows live event producers to preview the live streaming content without creating any live output.

encoding
LiveEventEncoding

Encoding settings for the live event. It configures whether a live encoder is used for the live event and settings for the live encoder if it is used.

transcriptions
IEnumerable<LiveEventTranscription>

Live transcription settings for the live event. See https://go.microsoft.com/fwlink/?linkid=2133742 for more information about the live transcription feature.

provisioningState
String

The provisioning state of the live event.

resourceState
Nullable<LiveEventResourceState>

The resource state of the live event. See https://go.microsoft.com/fwlink/?linkid=2139012 for more information.

crossSiteAccessPolicies
CrossSiteAccessPolicies

Live event cross site access policies.

useStaticHostname
Nullable<Boolean>

Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints. This value can only be updated if the live event is in Standby state.

hostnamePrefix
String

When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints. The final hostname would be a combination of this prefix, the media service account name and a short code for the Azure Media Services data center.

streamOptions
IEnumerable<StreamOptionsFlag>

The options to use for the LiveEvent. This value is specified at creation time and cannot be updated. The valid values for the array entry values are 'Default' and 'LowLatency'.

createdOn
Nullable<DateTimeOffset>

The creation time for the live event.

lastModifiedOn
Nullable<DateTimeOffset>

The last modified time of the live event.

Returns

A new MediaLiveEventData instance for mocking.

Applies to