Interface LiveOutputsClient
-
Method Summary
Modifier and TypeMethodDescriptionasyncOperation
(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.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveOutputInner>,
LiveOutputInner> beginCreate
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters) Create Live Outputcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<LiveOutputInner>,
LiveOutputInner> beginCreate
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters, com.azure.core.util.Context context) Create Live OutputbeginDelete
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName) Delete Live OutputbeginDelete
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, com.azure.core.util.Context context) Delete Live Outputcreate
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters) Create Live Outputcreate
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters, com.azure.core.util.Context context) Create Live Outputvoid
Delete Live Outputvoid
delete
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, com.azure.core.util.Context context) Delete Live OutputGet Live Outputcom.azure.core.http.rest.Response<LiveOutputInner>
getWithResponse
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, com.azure.core.util.Context context) Get Live Outputcom.azure.core.http.rest.PagedIterable<LiveOutputInner>
List Live Outputscom.azure.core.http.rest.PagedIterable<LiveOutputInner>
list
(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) List Live OutputsoperationLocation
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, String operationId) Get operation status.com.azure.core.http.rest.Response<LiveOutputInner>
operationLocationWithResponse
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, String operationId, com.azure.core.util.Context context) Get operation status.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<LiveOutputInner> list(String resourceGroupName, String accountName, String liveEventName) List Live OutputsLists the live outputs 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:
- liveOutputListResult 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<LiveOutputInner> list(String resourceGroupName, String accountName, String liveEventName, com.azure.core.util.Context context) List Live OutputsLists the live outputs 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:
- liveOutputListResult 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<LiveOutputInner> getWithResponse(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, com.azure.core.util.Context context) Get Live OutputGets a live output.
- 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.liveOutputName
- The name of the live output.context
- The context to associate with this operation.- Returns:
- a live output 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
LiveOutputInner get(String resourceGroupName, String accountName, String liveEventName, String liveOutputName) Get Live OutputGets a live output.
- 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.liveOutputName
- The name of the live output.- Returns:
- a live output.
- 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<LiveOutputInner>,LiveOutputInner> beginCreate(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters) Create Live OutputCreates a new live output.
- 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.liveOutputName
- The name of the live output.parameters
- Live Output properties needed for creation.- Returns:
- the
SyncPoller
for polling of the Live Output. - 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<LiveOutputInner>,LiveOutputInner> beginCreate(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters, com.azure.core.util.Context context) Create Live OutputCreates a new live output.
- 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.liveOutputName
- The name of the live output.parameters
- Live Output properties needed for creation.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of the Live Output. - 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
LiveOutputInner create(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters) Create Live OutputCreates a new live output.
- 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.liveOutputName
- The name of the live output.parameters
- Live Output properties needed for creation.- Returns:
- the Live Output.
- 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
LiveOutputInner create(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, LiveOutputInner parameters, com.azure.core.util.Context context) Create Live OutputCreates a new live output.
- 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.liveOutputName
- The name of the live output.parameters
- Live Output properties needed for creation.context
- The context to associate with this operation.- Returns:
- the Live Output.
- 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, String liveOutputName) Delete Live OutputDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
- 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.liveOutputName
- The name of the live output.- 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, String liveOutputName, com.azure.core.util.Context context) Delete Live OutputDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
- 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.liveOutputName
- The name of the live output.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
void delete(String resourceGroupName, String accountName, String liveEventName, String liveOutputName) Delete Live OutputDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
- 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.liveOutputName
- The name of the live output.- 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, String liveOutputName, com.azure.core.util.Context context) Delete Live OutputDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
- 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.liveOutputName
- The name of the live output.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.
-
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 Output 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 Output 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 Output 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 Output 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<LiveOutputInner> operationLocationWithResponse(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, String operationId, com.azure.core.util.Context context) Get operation status.Get a Live Output 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.liveOutputName
- The name of the live output.operationId
- The ID of an ongoing async operation.context
- The context to associate with this operation.- Returns:
- a Live Output 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
LiveOutputInner operationLocation(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, String operationId) Get operation status.Get a Live Output 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.liveOutputName
- The name of the live output.operationId
- The ID of an ongoing async operation.- Returns:
- a Live Output 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.
-