Interface LiveOutputs


public interface LiveOutputs
Resource collection API of LiveOutputs.
  • Method Details

    • list

      com.azure.core.http.rest.PagedIterable<LiveOutput> list(String resourceGroupName, String accountName, String liveEventName)
      List Live Outputs

      Lists 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 Outputs

      Lists 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 Output

      Gets 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 Output

      Gets 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 Output

      Deletes 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 Output

      Deletes 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

      LiveOutput getById(String id)
      Get Live Output

      Gets 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 Output

      Gets 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

      void deleteById(String id)
      Delete Live Output

      Deletes 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

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Delete Live Output

      Deletes 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.