Interface AssetTrack
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The entirety of the AssetTrack definition.static interface
The AssetTrack definition stages.static interface
The template for AssetTrack update.static interface
The AssetTrack update stages. -
Method Summary
Modifier and TypeMethodDescriptionid()
Gets the id property: Fully qualified resource Id for the resource.Gets the inner com.azure.resourcemanager.mediaservices.fluent.models.AssetTrackInner object.name()
Gets the name property: The name of the resource.Gets the provisioningState property: Provisioning state of the asset track.refresh()
Refreshes the resource to sync with Azure.refresh
(com.azure.core.util.Context context) Refreshes the resource to sync with Azure.Gets the name of the resource group.track()
Gets the track property: Detailed information about a track in the asset.type()
Gets the type property: The type of the resource.update()
Begins update for the AssetTrack resource.void
Update the track datavoid
updateTrackData
(com.azure.core.util.Context context) Update the track data
-
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
AssetTrack.Update 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
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 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.
- 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 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:
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.
-