LiveEvent Interface

public interface LiveEvent

An immutable client-side representation of LiveEvent.

Method Summary

Modifier and Type Method and Description
abstract void allocate()

Allocate resources for a live event

abstract void allocate(Context context)

Allocate resources for a live event

abstract OffsetDateTime created()

Gets the created property: The creation time for the live event.

abstract CrossSiteAccessPolicies crossSiteAccessPolicies()

Gets the crossSiteAccessPolicies property: Live event cross site access policies.

abstract String description()

Gets the description property: A description for the live event.

abstract LiveEventEncoding encoding()

Gets the encoding property: Encoding settings for the live event.

abstract String hostnamePrefix()

Gets the hostnamePrefix property: When useStaticHostname is set to true, the hostnamePrefix specifies the first part of the hostname assigned to the live event preview and ingest endpoints.

abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

abstract LiveEventInner innerModel()

Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.LiveEventInner object.

abstract LiveEventInput input()

Gets the input property: Live event input settings.

abstract OffsetDateTime lastModified()

Gets the lastModified property: The last modified time of the live event.

abstract String location()

Gets the location property: The geo-location where the resource lives.

abstract String name()

Gets the name property: The name of the resource.

abstract LiveEventPreview preview()

Gets the preview property: Live event preview settings.

abstract String provisioningState()

Gets the provisioningState property: The provisioning state of the live event.

abstract LiveEvent refresh()

Refreshes the resource to sync with Azure.

abstract LiveEvent refresh(Context context)

Refreshes the resource to sync with Azure.

abstract Region region()

Gets the region of the resource.

abstract String regionName()

Gets the name of the resource region.

abstract void reset()

Reset Live Event

abstract void reset(Context context)

Reset Live Event

abstract String resourceGroupName()

Gets the name of the resource group.

abstract LiveEventResourceState resourceState()

Gets the resourceState property: The resource state of the live event.

abstract void start()

Start Live Event

abstract void start(Context context)

Start Live Event

abstract void stop(LiveEventActionInput parameters)

Stop Live Event

abstract void stop(LiveEventActionInput parameters, Context context)

Stop Live Event

abstract List<StreamOptionsFlag> streamOptions()

Gets the streamOptions property: The options to use for the LiveEvent.

abstract SystemData systemData()

Gets the systemData property: The system metadata relating to this resource.

abstract Map<String,String> tags()

Gets the tags property: Resource tags.

abstract List<LiveEventTranscription> transcriptions()

Gets the transcriptions property: Live transcription settings for the live event.

abstract String type()

Gets the type property: The type of the resource.

abstract Update update()

Begins update for the LiveEvent resource.

abstract Boolean useStaticHostname()

Gets the useStaticHostname property: Specifies whether a static hostname would be assigned to the live event preview and ingest endpoints.

Method Details

allocate

public abstract void allocate()

Allocate resources for a live event

A live event is in StandBy state after allocation completes, and is ready to start.

allocate

public abstract void allocate(Context context)

Allocate resources for a live event

A live event is in StandBy state after allocation completes, and is ready to start.

Parameters:

context - The context to associate with this operation.

created

public abstract OffsetDateTime created()

Gets the created property: The creation time for the live event.

Returns:

the created value.

crossSiteAccessPolicies

public abstract CrossSiteAccessPolicies crossSiteAccessPolicies()

Gets the crossSiteAccessPolicies property: Live event cross site access policies.

Returns:

the crossSiteAccessPolicies value.

description

public abstract String description()

Gets the description property: A description for the live event.

Returns:

the description value.

encoding

public abstract LiveEventEncoding encoding()

Gets the encoding property: 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.

Returns:

the encoding value.

hostnamePrefix

public abstract String hostnamePrefix()

Gets the hostnamePrefix property: 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.

Returns:

the hostnamePrefix value.

id

public abstract String id()

Gets the id property: Fully qualified resource Id for the resource.

Returns:

the id value.

innerModel

public abstract LiveEventInner innerModel()

Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.LiveEventInner object.

Returns:

the inner object.

input

public abstract LiveEventInput input()

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

Returns:

the input value.

lastModified

public abstract OffsetDateTime lastModified()

Gets the lastModified property: The last modified time of the live event.

Returns:

the lastModified value.

location

public abstract String location()

Gets the location property: The geo-location where the resource lives.

Returns:

the location value.

name

public abstract String name()

Gets the name property: The name of the resource.

Returns:

the name value.

preview

public abstract LiveEventPreview preview()

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

Returns:

the preview value.

provisioningState

public abstract String provisioningState()

Gets the provisioningState property: The provisioning state of the live event.

Returns:

the provisioningState value.

refresh

public abstract LiveEvent refresh()

Refreshes the resource to sync with Azure.

Returns:

the refreshed resource.

refresh

public abstract LiveEvent refresh(Context context)

Refreshes the resource to sync with Azure.

Parameters:

context - The context to associate with this operation.

Returns:

the refreshed resource.

region

public abstract Region region()

Gets the region of the resource.

Returns:

the region of the resource.

regionName

public abstract String regionName()

Gets the name of the resource region.

Returns:

the name of the resource region.

reset

public abstract void reset()

Reset Live Event

Resets an existing live event. All live outputs for the live event are deleted and the live event is stopped and will be started again. All assets used by the live outputs and streaming locators created on these assets are unaffected.

reset

public abstract void reset(Context context)

Reset Live Event

Resets an existing live event. All live outputs for the live event are deleted and the live event is stopped and will be started again. All assets used by the live outputs and streaming locators created on these assets are unaffected.

Parameters:

context - The context to associate with this operation.

resourceGroupName

public abstract String resourceGroupName()

Gets the name of the resource group.

Returns:

the name of the resource group.

resourceState

public abstract LiveEventResourceState resourceState()

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

Returns:

the resourceState value.

start

public abstract void start()

Start Live Event

A live event in Stopped or StandBy state will be in Running state after the start operation completes.

start

public abstract void start(Context context)

Start Live Event

A live event in Stopped or StandBy state will be in Running state after the start operation completes.

Parameters:

context - The context to associate with this operation.

stop

public abstract void stop(LiveEventActionInput parameters)

Stop Live Event

Stops a running live event.

Parameters:

parameters - LiveEvent stop parameters.

stop

public abstract void stop(LiveEventActionInput parameters, Context context)

Stop Live Event

Stops a running live event.

Parameters:

parameters - LiveEvent stop parameters.
context - The context to associate with this operation.

streamOptions

public abstract List streamOptions()

Gets the streamOptions property: 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'.

Returns:

the streamOptions value.

systemData

public abstract SystemData systemData()

Gets the systemData property: The system metadata relating to this resource.

Returns:

the systemData value.

tags

public abstract Map tags()

Gets the tags property: Resource tags.

Returns:

the tags value.

transcriptions

public abstract List transcriptions()

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

Returns:

the transcriptions value.

type

public abstract String type()

Gets the type property: The type of the resource.

Returns:

the type value.

update

public abstract LiveEvent.Update update()

Begins update for the LiveEvent resource.

Returns:

the stage of resource update.

useStaticHostname

public abstract Boolean useStaticHostname()

Gets the useStaticHostname property: 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.

Returns:

the useStaticHostname value.

Applies to