Interface VideosClient
-
public interface VideosClientAn instance of this class provides access to all the operations defined in VideosClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VideoEntityInnercreateOrUpdate(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters)Creates a new video resource or updates an existing video resource with the given name.com.azure.core.http.rest.Response<VideoEntityInner>createOrUpdateWithResponse(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters, com.azure.core.util.Context context)Creates a new video resource or updates an existing video resource with the given name.voiddelete(String resourceGroupName, String accountName, String videoName)Deletes an existing video resource and its underlying data.com.azure.core.http.rest.Response<Void>deleteWithResponse(String resourceGroupName, String accountName, String videoName, com.azure.core.util.Context context)Deletes an existing video resource and its underlying data.VideoEntityInnerget(String resourceGroupName, String accountName, String videoName)Retrieves an existing video resource with the given name.com.azure.core.http.rest.Response<VideoEntityInner>getWithResponse(String resourceGroupName, String accountName, String videoName, com.azure.core.util.Context context)Retrieves an existing video resource with the given name.com.azure.core.http.rest.PagedIterable<VideoEntityInner>list(String resourceGroupName, String accountName)Retrieves a list of video resources that have been created, along with their JSON representations.com.azure.core.http.rest.PagedIterable<VideoEntityInner>list(String resourceGroupName, String accountName, Integer top, com.azure.core.util.Context context)Retrieves a list of video resources that have been created, along with their JSON representations.VideoContentTokenInnerlistContentToken(String resourceGroupName, String accountName, String videoName)Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.com.azure.core.http.rest.Response<VideoContentTokenInner>listContentTokenWithResponse(String resourceGroupName, String accountName, String videoName, com.azure.core.util.Context context)Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.VideoEntityInnerupdate(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters)Updates individual properties of an existing video resource with the given name.com.azure.core.http.rest.Response<VideoEntityInner>updateWithResponse(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters, com.azure.core.util.Context context)Updates individual properties of an existing video resource with the given name.
-
-
-
Method Detail
-
list
com.azure.core.http.rest.PagedIterable<VideoEntityInner> list(String resourceGroupName, String accountName)
Retrieves a list of video resources that have been created, along with their JSON representations.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.- Returns:
- a collection of VideoEntity 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<VideoEntityInner> list(String resourceGroupName, String accountName, Integer top, com.azure.core.util.Context context)
Retrieves a list of video resources that have been created, along with their JSON representations.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.top- Specifies a non-negative integer n that limits the number of items returned from a collection. The service returns the number of available items up to but not greater than the specified value n.context- The context to associate with this operation.- Returns:
- a collection of VideoEntity 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.
-
get
VideoEntityInner get(String resourceGroupName, String accountName, String videoName)
Retrieves an existing video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.- Returns:
- represents a video resource within Azure Video Analyzer.
- 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<VideoEntityInner> getWithResponse(String resourceGroupName, String accountName, String videoName, com.azure.core.util.Context context)
Retrieves an existing video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.context- The context to associate with this operation.- Returns:
- represents a video resource within Azure Video Analyzer 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
VideoEntityInner createOrUpdate(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters)
Creates a new video resource or updates an existing video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.parameters- The request parameters.- Returns:
- represents a video resource within Azure Video Analyzer.
- 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<VideoEntityInner> createOrUpdateWithResponse(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters, com.azure.core.util.Context context)
Creates a new video resource or updates an existing video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.parameters- The request parameters.context- The context to associate with this operation.- Returns:
- represents a video resource within Azure Video Analyzer 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.
-
delete
void delete(String resourceGroupName, String accountName, String videoName)
Deletes an existing video resource and its underlying data. This operation is irreversible.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video 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.
-
deleteWithResponse
com.azure.core.http.rest.Response<Void> deleteWithResponse(String resourceGroupName, String accountName, String videoName, com.azure.core.util.Context context)
Deletes an existing video resource and its underlying data. This operation is irreversible.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video 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.
-
update
VideoEntityInner update(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters)
Updates individual properties of an existing video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.parameters- The request parameters.- Returns:
- represents a video resource within Azure Video Analyzer.
- 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<VideoEntityInner> updateWithResponse(String resourceGroupName, String accountName, String videoName, VideoEntityInner parameters, com.azure.core.util.Context context)
Updates individual properties of an existing video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.parameters- The request parameters.context- The context to associate with this operation.- Returns:
- represents a video resource within Azure Video Analyzer 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.
-
listContentToken
VideoContentTokenInner listContentToken(String resourceGroupName, String accountName, String videoName)
Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.- Returns:
- "Video content token grants access to the video content URLs.".
- 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.
-
listContentTokenWithResponse
com.azure.core.http.rest.Response<VideoContentTokenInner> listContentTokenWithResponse(String resourceGroupName, String accountName, String videoName, com.azure.core.util.Context context)
Generates a streaming token which can be used for accessing content from video content URLs, for a video resource with the given name.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.accountName- The Azure Video Analyzer account name.videoName- The Video name.context- The context to associate with this operation.- Returns:
- "Video content token grants access to the video content URLs." 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.
-
-