MediaAssetTrackResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A Class representing a MediaAssetTrack along with the instance operations that can be performed on it. If you have a Azure.Core.ResourceIdentifier you can construct a MediaAssetTrackResource from an instance of Azure.ResourceManager.ArmClient using the GetMediaAssetTrackResource method. Otherwise you can get one from its parent resource MediaAssetResource using the GetMediaAssetTrack method.
public class MediaAssetTrackResource : Azure.ResourceManager.ArmResource, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Media.MediaAssetTrackData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Media.MediaAssetTrackData>
type MediaAssetTrackResource = class
inherit ArmResource
interface IJsonModel<MediaAssetTrackData>
interface IPersistableModel<MediaAssetTrackData>
Public Class MediaAssetTrackResource
Inherits ArmResource
Implements IJsonModel(Of MediaAssetTrackData), IPersistableModel(Of MediaAssetTrackData)
- Inheritance
-
Azure.ResourceManager.ArmResourceMediaAssetTrackResource
- Implements
-
System.ClientModel.Primitives.IJsonModel<MediaAssetTrackData> System.ClientModel.Primitives.IPersistableModel<MediaAssetTrackData> System.ClientModel.Primitives.IPersistableModel<T>
Constructors
MediaAssetTrackResource() |
Initializes a new instance of the MediaAssetTrackResource class for mocking. |
Fields
ResourceType |
Gets the resource type for the operations. |
Properties
Data |
Gets the data representing this Feature. |
HasData |
Gets whether or not the current instance has data. |
Methods
CreateResourceIdentifier(String, String, String, String, String) |
Generate the resource identifier of a MediaAssetTrackResource instance. |
Delete(WaitUntil, CancellationToken) |
Deletes a Track in the asset
|
DeleteAsync(WaitUntil, CancellationToken) |
Deletes a Track in the asset
|
Get(CancellationToken) |
Get the details of a Track in the Asset
|
GetAsync(CancellationToken) |
Get the details of a Track in the Asset
|
Update(WaitUntil, MediaAssetTrackData, CancellationToken) |
Updates an existing Track in the asset
|
UpdateAsync(WaitUntil, MediaAssetTrackData, CancellationToken) |
Updates an existing Track in the asset
|
UpdateTrackData(WaitUntil, CancellationToken) |
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.
|
UpdateTrackDataAsync(WaitUntil, CancellationToken) |
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.
|
Explicit Interface Implementations
IJsonModel<MediaAssetTrackData>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<MediaAssetTrackData>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided System.Text.Json.Utf8JsonWriter. |
IPersistableModel<MediaAssetTrackData>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided System.BinaryData into a model. |
IPersistableModel<MediaAssetTrackData>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<MediaAssetTrackData>.Write(ModelReaderWriterOptions) |
Writes the model into a System.BinaryData. |