Interface AssetTrack


public interface AssetTrack
An immutable client-side representation of AssetTrack.
  • Method Details

    • id

      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      Returns:
      the id value.
    • name

      String name()
      Gets the name property: The name of the resource.
      Returns:
      the name value.
    • type

      String type()
      Gets the type property: The type of the resource.
      Returns:
      the type value.
    • track

      TrackBase track()
      Gets the track property: Detailed information about a track in the asset.
      Returns:
      the track value.
    • provisioningState

      ProvisioningState provisioningState()
      Gets the provisioningState property: Provisioning state of the asset track.
      Returns:
      the provisioningState value.
    • resourceGroupName

      String resourceGroupName()
      Gets the name of the resource group.
      Returns:
      the name of the resource group.
    • innerModel

      AssetTrackInner innerModel()
      Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.AssetTrackInner object.
      Returns:
      the inner object.
    • update

      Begins update for the AssetTrack resource.
      Returns:
      the stage of resource update.
    • refresh

      AssetTrack refresh()
      Refreshes the resource to sync with Azure.
      Returns:
      the refreshed resource.
    • refresh

      AssetTrack refresh(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the refreshed resource.
    • updateTrackData

      void updateTrackData()
      Update the track data

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

      Throws:
      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(com.azure.core.util.Context context)
      Update the track data

      Update 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:
      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.