Interface LiveOutputs
public interface LiveOutputs
Resource collection API of LiveOutputs.
-
Method Summary
Modifier and TypeMethodDescriptionasyncOperation
(String resourceGroupName, String accountName, String operationId) Get operation status.com.azure.core.http.rest.Response<AsyncOperationResult>
asyncOperationWithResponse
(String resourceGroupName, String accountName, String operationId, com.azure.core.util.Context context) Get operation status.Begins definition for a new LiveOutput resource.void
Delete Live Outputvoid
delete
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, com.azure.core.util.Context context) Delete Live Outputvoid
deleteById
(String id) Delete Live Outputvoid
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete Live OutputGet Live OutputGet Live Outputcom.azure.core.http.rest.Response<LiveOutput>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get Live Outputcom.azure.core.http.rest.Response<LiveOutput>
getWithResponse
(String resourceGroupName, String accountName, String liveEventName, String liveOutputName, com.azure.core.util.Context context) Get Live Outputcom.azure.core.http.rest.PagedIterable<LiveOutput>
List Live Outputscom.azure.core.http.rest.PagedIterable<LiveOutput>
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<LiveOutput>
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<LiveOutput> 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<LiveOutput> 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<LiveOutput> 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
LiveOutput 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.
-
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<AsyncOperationResult> 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
AsyncOperationResult 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<LiveOutput> 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
LiveOutput 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.
-
getById
Get Live OutputGets a live output.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<LiveOutput> getByIdWithResponse(String id, com.azure.core.util.Context context) Get Live OutputGets a live output.
- Parameters:
id
- the resource ID.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.
-
deleteById
Delete Live OutputDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Delete Live OutputDeletes a live output. Deleting a live output does not delete the asset the live output is writing to.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new LiveOutput resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new LiveOutput definition.
-