Interface TransformsClient
public interface TransformsClient
An instance of this class provides access to all the operations defined in TransformsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncreateOrUpdate
(String resourceGroupName, String accountName, String transformName, TransformInner parameters) Create or Update Transformcom.azure.core.http.rest.Response<TransformInner>
createOrUpdateWithResponse
(String resourceGroupName, String accountName, String transformName, TransformInner parameters, com.azure.core.util.Context context) Create or Update Transformvoid
Delete Transformcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context) Delete TransformGet Transformcom.azure.core.http.rest.Response<TransformInner>
getWithResponse
(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context) Get Transformcom.azure.core.http.rest.PagedIterable<TransformInner>
List Transformscom.azure.core.http.rest.PagedIterable<TransformInner>
list
(String resourceGroupName, String accountName, String filter, String orderby, com.azure.core.util.Context context) List Transformsupdate
(String resourceGroupName, String accountName, String transformName, TransformInner parameters) Update Transformcom.azure.core.http.rest.Response<TransformInner>
updateWithResponse
(String resourceGroupName, String accountName, String transformName, TransformInner parameters, com.azure.core.util.Context context) Update Transform
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<TransformInner> list(String resourceGroupName, String accountName) List TransformsLists the Transforms in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.- Returns:
- a collection of Transform items 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<TransformInner> list(String resourceGroupName, String accountName, String filter, String orderby, com.azure.core.util.Context context) List TransformsLists the Transforms in the account.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.filter
- Restricts the set of items returned.orderby
- Specifies the key by which the result collection should be ordered.context
- The context to associate with this operation.- Returns:
- a collection of Transform items 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<TransformInner> getWithResponse(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context) Get TransformGets a Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.context
- The context to associate with this operation.- Returns:
- a Transform 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 TransformGets a Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.- Returns:
- a Transform.
- 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.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<TransformInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String transformName, TransformInner parameters, com.azure.core.util.Context context) Create or Update TransformCreates or updates a new Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- a Transform encapsulates the rules or instructions for generating desired outputs from input media, such
as by transcoding or by extracting insights 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.
-
createOrUpdate
TransformInner createOrUpdate(String resourceGroupName, String accountName, String transformName, TransformInner parameters) Create or Update TransformCreates or updates a new Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.parameters
- The request parameters.- Returns:
- a Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights.
- 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context) Delete TransformDeletes a Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.context
- The context to associate with this operation.- Returns:
- the
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.
-
delete
Delete TransformDeletes a Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.- 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.
-
updateWithResponse
com.azure.core.http.rest.Response<TransformInner> updateWithResponse(String resourceGroupName, String accountName, String transformName, TransformInner parameters, com.azure.core.util.Context context) Update TransformUpdates a Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- a Transform encapsulates the rules or instructions for generating desired outputs from input media, such
as by transcoding or by extracting insights 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.
-
update
TransformInner update(String resourceGroupName, String accountName, String transformName, TransformInner parameters) Update TransformUpdates a Transform.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.transformName
- The Transform name.parameters
- The request parameters.- Returns:
- a Transform encapsulates the rules or instructions for generating desired outputs from input media, such as by transcoding or by extracting insights.
- 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.
-