Interface TracksClient
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,
AssetTrackInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Create or update a Trackcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,
AssetTrackInner> beginCreateOrUpdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Create or update a TrackbeginDelete
(String resourceGroupName, String accountName, String assetName, String trackName) Delete a TrackbeginDelete
(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Delete a Trackcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,
AssetTrackInner> beginUpdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Update an Trackcom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,
AssetTrackInner> beginUpdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Update an TrackbeginUpdateTrackData
(String resourceGroupName, String accountName, String assetName, String trackName) Update the track databeginUpdateTrackData
(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Update the track datacreateOrUpdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Create or update a TrackcreateOrUpdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Create or update a Trackvoid
Delete a Trackvoid
delete
(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Delete a TrackGet a Trackcom.azure.core.http.rest.Response<AssetTrackInner>
getWithResponse
(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Get a Trackcom.azure.core.http.rest.PagedIterable<AssetTrackInner>
List Tracks in the Assetcom.azure.core.http.rest.PagedIterable<AssetTrackInner>
list
(String resourceGroupName, String accountName, String assetName, com.azure.core.util.Context context) List Tracks in the Assetupdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Update an Trackupdate
(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Update an Trackvoid
updateTrackData
(String resourceGroupName, String accountName, String assetName, String trackName) Update the track datavoid
updateTrackData
(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Update the track data
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<AssetTrackInner> list(String resourceGroupName, String accountName, String assetName) List Tracks in the AssetLists the Tracks in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.- Returns:
- a collection of AssetTrack 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<AssetTrackInner> list(String resourceGroupName, String accountName, String assetName, com.azure.core.util.Context context) List Tracks in the AssetLists the Tracks in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.context
- The context to associate with this operation.- Returns:
- a collection of AssetTrack 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<AssetTrackInner> getWithResponse(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Get a TrackGet the details of a Track in the Asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.context
- The context to associate with this operation.- Returns:
- the details of a Track in the Asset 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
AssetTrackInner get(String resourceGroupName, String accountName, String assetName, String trackName) Get a TrackGet the details of a Track in the Asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.- Returns:
- the details of a Track in the Asset.
- 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,AssetTrackInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Create or update a TrackCreate or update a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.- Returns:
- the
SyncPoller
for polling of an Asset Track resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,AssetTrackInner> beginCreateOrUpdate(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Create or update a TrackCreate or update a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of an Asset Track resource. - 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
AssetTrackInner createOrUpdate(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Create or update a TrackCreate or update a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.- Returns:
- an Asset Track resource.
- 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
AssetTrackInner createOrUpdate(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Create or update a TrackCreate or update a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- an Asset Track resource.
- 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String assetName, String trackName) Delete a TrackDeletes a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Delete a TrackDeletes a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
delete
Delete a TrackDeletes a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track 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.
-
delete
void delete(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Delete a TrackDeletes a Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,AssetTrackInner> beginUpdate(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Update an TrackUpdates an existing Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.- Returns:
- the
SyncPoller
for polling of an Asset Track resource. - 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.
-
beginUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<AssetTrackInner>,AssetTrackInner> beginUpdate(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Update an TrackUpdates an existing Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of an Asset Track resource. - 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
AssetTrackInner update(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters) Update an TrackUpdates an existing Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.- Returns:
- an Asset Track resource.
- 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
AssetTrackInner update(String resourceGroupName, String accountName, String assetName, String trackName, AssetTrackInner parameters, com.azure.core.util.Context context) Update an TrackUpdates an existing Track in the asset.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.parameters
- The request parameters.context
- The context to associate with this operation.- Returns:
- an Asset Track resource.
- 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.
-
beginUpdateTrackData
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdateTrackData(String resourceGroupName, String accountName, String assetName, String trackName) Update the track dataUpdate the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
beginUpdateTrackData
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginUpdateTrackData(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Update the track dataUpdate the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.context
- The context to associate with this operation.- Returns:
- the
SyncPoller
for polling of long-running 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.
-
updateTrackData
void updateTrackData(String resourceGroupName, String accountName, String assetName, String trackName) Update the track dataUpdate the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track 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.
-
updateTrackData
void updateTrackData(String resourceGroupName, String accountName, String assetName, String trackName, com.azure.core.util.Context context) Update the track dataUpdate the track data. Call this API after any changes are made to the track data stored in the asset container. For example, you have modified the WebVTT captions file in the Azure blob storage container for the asset, viewers will not see the new version of the captions unless this API is called. Note, the changes may not be reflected immediately. CDN cache may also need to be purged if applicable.
- Parameters:
resourceGroupName
- The name of the resource group within the Azure subscription.accountName
- The Media Services account name.assetName
- The Asset name.trackName
- The Asset Track name.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.
-