你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ArmMediaModelFactory.StreamingLocatorData 方法

定义

初始化 StreamingLocatorData 的新实例。

public static Azure.ResourceManager.Media.StreamingLocatorData StreamingLocatorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string assetName = default, DateTimeOffset? createdOn = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Guid? streamingLocatorId = default, string streamingPolicyName = default, string defaultContentKeyPolicyName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.StreamingLocatorContentKey> contentKeys = default, string alternativeMediaId = default, System.Collections.Generic.IEnumerable<string> filters = default);
static member StreamingLocatorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Guid> * string * string * seq<Azure.ResourceManager.Media.Models.StreamingLocatorContentKey> * string * seq<string> -> Azure.ResourceManager.Media.StreamingLocatorData
Public Shared Function StreamingLocatorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional assetName As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional startOn As Nullable(Of DateTimeOffset) = Nothing, Optional endOn As Nullable(Of DateTimeOffset) = Nothing, Optional streamingLocatorId As Nullable(Of Guid) = Nothing, Optional streamingPolicyName As String = Nothing, Optional defaultContentKeyPolicyName As String = Nothing, Optional contentKeys As IEnumerable(Of StreamingLocatorContentKey) = Nothing, Optional alternativeMediaId As String = Nothing, Optional filters As IEnumerable(Of String) = Nothing) As StreamingLocatorData

参数

name
String

名称。

resourceType
ResourceType

resourceType。

systemData
SystemData

systemData。

assetName
String

资产名称。

createdOn
Nullable<DateTimeOffset>

流式处理定位符的创建时间。

startOn
Nullable<DateTimeOffset>

流式处理定位符的开始时间。

endOn
Nullable<DateTimeOffset>

流式处理定位符的结束时间。

streamingLocatorId
Nullable<Guid>

流式处理定位符的 StreamingLocatorId。

streamingPolicyName
String

此流式处理定位符使用的流式处理策略的名称。 指定创建的流式处理策略的名称,或使用一个预定义的流式处理策略。 可用的预定义流式处理策略包括:“Predefined_DownloadOnly”、“Predefined_ClearStreamingOnly”、“Predefined_DownloadAndClearStreaming”、“Predefined_ClearKey”、“Predefined_MultiDrmCencStreaming”和“Predefined_MultiDrmStreaming”。

defaultContentKeyPolicyName
String

此流式处理定位符使用的默认 ContentKeyPolicy 的名称。

contentKeys
IEnumerable<StreamingLocatorContentKey>

此流式处理定位符使用的 Contentkey。

alternativeMediaId
String

此流式处理定位符的备选媒体 ID。

filters
IEnumerable<String>

应用于此流式处理定位符的资产或帐户筛选器列表。

返回

用于模拟的新 StreamingLocatorData 实例。

适用于