LiveEvent Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LiveEvent() |
Initializes a new instance of the LiveEvent class. |
LiveEvent(String, LiveEventInput, String, String, String, IDictionary<String, String>, String, LiveEventPreview, LiveEventEncoding, IList<LiveEventTranscription>, String, Nullable<LiveEventResourceState>, CrossSiteAccessPolicies, Nullable<Boolean>, String, IList<Nullable<StreamOptionsFlag>>, Nullable<DateTime>, Nullable<DateTime>, SystemData) |
Initializes a new instance of the LiveEvent class. |
LiveEvent()
Initializes a new instance of the LiveEvent class.
public LiveEvent ();
Public Sub New ()
Applies to
LiveEvent(String, LiveEventInput, String, String, String, IDictionary<String, String>, String, LiveEventPreview, LiveEventEncoding, IList<LiveEventTranscription>, String, Nullable<LiveEventResourceState>, CrossSiteAccessPolicies, Nullable<Boolean>, String, IList<Nullable<StreamOptionsFlag>>, Nullable<DateTime>, Nullable<DateTime>, SystemData)
Initializes a new instance of the LiveEvent class.
public LiveEvent (string location, Microsoft.Azure.Management.Media.Models.LiveEventInput input, string id = default, string name = default, string type = default, System.Collections.Generic.IDictionary<string,string> tags = default, string description = default, Microsoft.Azure.Management.Media.Models.LiveEventPreview preview = default, Microsoft.Azure.Management.Media.Models.LiveEventEncoding encoding = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventTranscription> transcriptions = default, string provisioningState = default, Microsoft.Azure.Management.Media.Models.LiveEventResourceState? resourceState = default, Microsoft.Azure.Management.Media.Models.CrossSiteAccessPolicies crossSiteAccessPolicies = default, bool? useStaticHostname = default, string hostnamePrefix = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.StreamOptionsFlag?> streamOptions = default, DateTime? created = default, DateTime? lastModified = default, Microsoft.Azure.Management.Media.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Media.Models.LiveEvent : string * Microsoft.Azure.Management.Media.Models.LiveEventInput * string * string * string * System.Collections.Generic.IDictionary<string, string> * string * Microsoft.Azure.Management.Media.Models.LiveEventPreview * Microsoft.Azure.Management.Media.Models.LiveEventEncoding * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.LiveEventTranscription> * string * Nullable<Microsoft.Azure.Management.Media.Models.LiveEventResourceState> * Microsoft.Azure.Management.Media.Models.CrossSiteAccessPolicies * Nullable<bool> * string * System.Collections.Generic.IList<Nullable<Microsoft.Azure.Management.Media.Models.StreamOptionsFlag>> * Nullable<DateTime> * Nullable<DateTime> * Microsoft.Azure.Management.Media.Models.SystemData -> Microsoft.Azure.Management.Media.Models.LiveEvent
Public Sub New (location As String, input As LiveEventInput, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional description As String = Nothing, Optional preview As LiveEventPreview = Nothing, Optional encoding As LiveEventEncoding = Nothing, Optional transcriptions As IList(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 IList(Of Nullable(Of StreamOptionsFlag)) = Nothing, Optional created As Nullable(Of DateTime) = Nothing, Optional lastModified As Nullable(Of DateTime) = Nothing, Optional systemData As SystemData = Nothing)
Parameters
- location
- String
The geo-location where the resource lives
- input
- LiveEventInput
Live event input settings. It defines how the live event receives input from a contribution encoder.
- id
- String
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
The name of the resource
- type
- String
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"
- tags
- IDictionary<String,String>
Resource tags.
- description
- String
A description for the live event.
- 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
- IList<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. Possible values include: 'Stopped', 'Allocating', 'StandBy', 'Starting', 'Running', 'Stopping', 'Deleting'
- crossSiteAccessPolicies
- CrossSiteAccessPolicies
Live event cross site access policies.
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
- IList<Nullable<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'.
- systemData
- SystemData
The system metadata relating to this resource.
Applies to
Azure SDK for .NET