Interface Transforms
public interface Transforms
Resource collection API of Transforms.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Transform resource.void
Delete Transformvoid
deleteById
(String id) Delete Transformcom.azure.core.http.rest.Response<Void>
deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Delete Transformcom.azure.core.http.rest.Response<Void>
deleteWithResponse
(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context) Delete TransformGet TransformGet Transformcom.azure.core.http.rest.Response<Transform>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Get Transformcom.azure.core.http.rest.Response<Transform>
getWithResponse
(String resourceGroupName, String accountName, String transformName, com.azure.core.util.Context context) Get Transformcom.azure.core.http.rest.PagedIterable<Transform>
List Transformscom.azure.core.http.rest.PagedIterable<Transform>
list
(String resourceGroupName, String accountName, String filter, String orderby, com.azure.core.util.Context context) List Transforms
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Transform> 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<Transform> 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<Transform> 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.
-
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.
-
getById
Get TransformGets a Transform.
- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<Transform> getByIdWithResponse(String id, com.azure.core.util.Context context) Get TransformGets a Transform.
- Parameters:
id
- the resource ID.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.
-
deleteById
Delete TransformDeletes a Transform.
- 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
com.azure.core.http.rest.Response<Void> deleteByIdWithResponse(String id, com.azure.core.util.Context context) Delete TransformDeletes a Transform.
- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new Transform resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new Transform definition.
-