Interface LiveEventsClient
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Allocate resources for a live eventvoid
allocate
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Allocate resources for a live eventasyncOperation
(String resourceGroupName, String accountName, String operationId) Get operation status.com.azure.core.http.rest.Response<AsyncOperationResultInner>
asyncOperationWithResponse
(String resourceGroupName, String accountName, String operationId, com.azure.core.util.Context context) Get operation status.beginAllocate
(String resourceGroupName, String accountName, String liveEventName) Allocate resources for a live eventbeginAllocate
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Allocate resources for a live eventcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,
LiveEventInner> beginCreate
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Create Live Eventcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,
LiveEventInner> beginCreate
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create Live EventbeginDelete
(String resourceGroupName, String accountName, String liveEventName) Delete Live EventbeginDelete
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Delete Live EventbeginReset
(String resourceGroupName, String accountName, String liveEventName) Reset Live EventbeginReset
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Reset Live EventbeginStart
(String resourceGroupName, String accountName, String liveEventName) Start Live EventbeginStart
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Start Live EventbeginStop
(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters) Stop Live EventbeginStop
(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters, com.azure.core.util.Context context) Stop Live Eventcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,
LiveEventInner> beginUpdate
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Updates settings on an existing live event.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,
LiveEventInner> beginUpdate
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, com.azure.core.util.Context context) Updates settings on an existing live event.create
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Create Live Eventcreate
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create Live Eventvoid
Delete Live Eventvoid
delete
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Delete Live EventGet Live Eventcom.azure.core.http.rest.Response<LiveEventInner>
getWithResponse
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get Live Eventcom.azure.core.http.rest.PagedIterable<LiveEventInner>
List live eventscom.azure.core.http.rest.PagedIterable<LiveEventInner>
List live eventscom.azure.core.http.rest.PagedIterable<LiveEventStatusInner>
listGetStatus
(String resourceGroupName, String accountName, String liveEventName) Get status of one live eventcom.azure.core.http.rest.PagedIterable<LiveEventStatusInner>
listGetStatus
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get status of one live eventcom.azure.core.http.rest.PagedIterable<LiveEventStreamEventInner>
listGetStreamEvents
(String resourceGroupName, String accountName, String liveEventName) Get stream events of one live eventcom.azure.core.http.rest.PagedIterable<LiveEventStreamEventInner>
listGetStreamEvents
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get stream events of one live eventcom.azure.core.http.rest.PagedIterable<LiveEventTrackEventInner>
listGetTrackIngestHeartbeats
(String resourceGroupName, String accountName, String liveEventName) Get track events of one live eventcom.azure.core.http.rest.PagedIterable<LiveEventTrackEventInner>
listGetTrackIngestHeartbeats
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get track events of one live eventoperationLocation
(String resourceGroupName, String accountName, String liveEventName, String operationId) Get operation status.com.azure.core.http.rest.Response<LiveEventInner>
operationLocationWithResponse
(String resourceGroupName, String accountName, String liveEventName, String operationId, com.azure.core.util.Context context) Get operation status.void
Reset Live Eventvoid
reset
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Reset Live Eventvoid
Start Live Eventvoid
start
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Start Live Eventvoid
stop
(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters) Stop Live Eventvoid
stop
(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters, com.azure.core.util.Context context) Stop Live Eventupdate
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Updates settings on an existing live event.update
(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, com.azure.core.util.Context context) Updates settings on an existing live event.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<LiveEventInner> list(String resourceGroupName, String accountName) List live eventsLists all the live events in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.- Returns:
- liveEventListResult as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<LiveEventInner> list(String resourceGroupName, String accountName, com.azure.core.util.Context context) List live eventsLists all the live events in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.context
- The context to associate with this operation.- Returns:
- liveEventListResult as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<LiveEventInner> getWithResponse(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get Live EventGets properties of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- properties of a live event along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
get
Get Live EventGets properties of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- properties of a live event.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,LiveEventInner> beginCreate(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Create Live EventCreates a new live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for creation.- Returns:
- the
SyncPoller
for polling of the live event. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginCreate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,LiveEventInner> beginCreate(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create Live EventCreates a new live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for creation.autoStart
- The flag indicates if the resource should be automatically started on creation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the live event. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
LiveEventInner create(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Create Live EventCreates a new live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for creation.- Returns:
- the live event.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
create
LiveEventInner create(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, Boolean autoStart, com.azure.core.util.Context context) Create Live EventCreates a new live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for creation.autoStart
- The flag indicates if the resource should be automatically started on creation.context
- The context to associate with this operation.- Returns:
- the live event.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,LiveEventInner> beginUpdate(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Updates settings on an existing live event.- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for patch.- Returns:
- the
SyncPoller
for polling of the live event. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveEventInner>,LiveEventInner> beginUpdate(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, com.azure.core.util.Context context) Updates settings on an existing live event.- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for patch.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the live event. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
LiveEventInner update(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters) Updates settings on an existing live event.- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for patch.- Returns:
- the live event.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
update
LiveEventInner update(String resourceGroupName, String accountName, String liveEventName, LiveEventInner parameters, com.azure.core.util.Context context) Updates settings on an existing live event.- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- Live event properties needed for patch.context
- The context to associate with this operation.- Returns:
- the live event.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String liveEventName) Delete Live EventDeletes a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Delete Live EventDeletes a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Delete Live EventDeletes a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Delete Live EventDeletes a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginAllocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAllocate(String resourceGroupName, String accountName, String liveEventName) Allocate resources for a live eventA live event is in StandBy state after allocation completes, and is ready to start.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginAllocate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginAllocate(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Allocate resources for a live eventA live event is in StandBy state after allocation completes, and is ready to start.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
allocate
Allocate resources for a live eventA live event is in StandBy state after allocation completes, and is ready to start.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
allocate
void allocate(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Allocate resources for a live eventA live event is in StandBy state after allocation completes, and is ready to start.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String accountName, String liveEventName) Start Live EventA live event in Stopped or StandBy state will be in Running state after the start operation completes.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStart
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStart(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Start Live EventA live event in Stopped or StandBy state will be in Running state after the start operation completes.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
Start Live EventA live event in Stopped or StandBy state will be in Running state after the start operation completes.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
start
void start(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Start Live EventA live event in Stopped or StandBy state will be in Running state after the start operation completes.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters) Stop Live EventStops a running live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- LiveEvent stop parameters.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginStop
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginStop(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters, com.azure.core.util.Context context) Stop Live EventStops a running live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- LiveEvent stop parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stop
void stop(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters) Stop Live EventStops a running live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- LiveEvent stop parameters.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
stop
void stop(String resourceGroupName, String accountName, String liveEventName, LiveEventActionInput parameters, com.azure.core.util.Context context) Stop Live EventStops a running live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.parameters
- LiveEvent stop parameters.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginReset
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReset(String resourceGroupName, String accountName, String liveEventName) Reset Live EventResets 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:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
beginReset
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginReset(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Reset Live EventResets 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:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running operation. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
reset
Reset Live EventResets 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:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
reset
void reset(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Reset Live EventResets 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:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listGetStatus
com.azure.core.http.rest.PagedIterable<LiveEventStatusInner> listGetStatus(String resourceGroupName, String accountName, String liveEventName) Get status of one live eventGets status telemetry of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- status telemetry of a live event as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listGetStatus
com.azure.core.http.rest.PagedIterable<LiveEventStatusInner> listGetStatus(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get status of one live eventGets status telemetry of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- status telemetry of a live event as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listGetStreamEvents
com.azure.core.http.rest.PagedIterable<LiveEventStreamEventInner> listGetStreamEvents(String resourceGroupName, String accountName, String liveEventName) Get stream events of one live eventGet stream events telemetry of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- stream events telemetry of a live event as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listGetStreamEvents
com.azure.core.http.rest.PagedIterable<LiveEventStreamEventInner> listGetStreamEvents(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get stream events of one live eventGet stream events telemetry of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- stream events telemetry of a live event as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listGetTrackIngestHeartbeats
com.azure.core.http.rest.PagedIterable<LiveEventTrackEventInner> listGetTrackIngestHeartbeats(String resourceGroupName, String accountName, String liveEventName) Get track events of one live eventGet track ingest heartbeat events telemetry of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.- Returns:
- track ingest heartbeat events telemetry of a live event as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
listGetTrackIngestHeartbeats
com.azure.core.http.rest.PagedIterable<LiveEventTrackEventInner> listGetTrackIngestHeartbeats(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) Get track events of one live eventGet track ingest heartbeat events telemetry of a live event.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.context
- The context to associate with this operation.- Returns:
- track ingest heartbeat events telemetry of a live event as paginated response with
PagedIterable
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
asyncOperationWithResponse
com.azure.core.http.rest.Response<AsyncOperationResultInner> asyncOperationWithResponse(String resourceGroupName, String accountName, String operationId, com.azure.core.util.Context context) Get operation status.Get a live event operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.operationId
- The ID of an ongoing async operation.context
- The context to associate with this operation.- Returns:
- a live event operation status along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
asyncOperation
AsyncOperationResultInner asyncOperation(String resourceGroupName, String accountName, String operationId) Get operation status.Get a live event operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.operationId
- The ID of an ongoing async operation.- Returns:
- a live event operation status.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
operationLocationWithResponse
com.azure.core.http.rest.Response<LiveEventInner> operationLocationWithResponse(String resourceGroupName, String accountName, String liveEventName, String operationId, com.azure.core.util.Context context) Get operation status.Get a live event operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.operationId
- The ID of an ongoing async operation.context
- The context to associate with this operation.- Returns:
- a live event operation status along with
Response
. - Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-
operationLocation
LiveEventInner operationLocation(String resourceGroupName, String accountName, String liveEventName, String operationId) Get operation status.Get a live event operation status.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.liveEventName
- The name of the live event, maximum length is 32.operationId
- The ID of an ongoing async operation.- Returns:
- a live event operation status.
- Throws:
IllegalArgumentException
- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException
- thrown if the request is rejected by server.RuntimeException
- all other wrapped checked exceptions if the request fails to be sent.
-