你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
StreamingLocator 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
StreamingLocator() |
初始化 StreamingLocator 类的新实例。 |
StreamingLocator(String, String, String, String, String, DateTime, Nullable<DateTime>, Nullable<DateTime>, Nullable<Guid>, String, IList<StreamingLocatorContentKey>, String, IList<String>, SystemData) |
初始化 StreamingLocator 类的新实例。 |
StreamingLocator()
初始化 StreamingLocator 类的新实例。
public StreamingLocator ();
Public Sub New ()
适用于
StreamingLocator(String, String, String, String, String, DateTime, Nullable<DateTime>, Nullable<DateTime>, Nullable<Guid>, String, IList<StreamingLocatorContentKey>, String, IList<String>, SystemData)
初始化 StreamingLocator 类的新实例。
public StreamingLocator (string assetName, string streamingPolicyName, string id = default, string name = default, string type = default, DateTime created = default, DateTime? startTime = default, DateTime? endTime = default, Guid? streamingLocatorId = default, string defaultContentKeyPolicyName = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.StreamingLocatorContentKey> contentKeys = default, string alternativeMediaId = default, System.Collections.Generic.IList<string> filters = default, Microsoft.Azure.Management.Media.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Media.Models.StreamingLocator : string * string * string * string * string * DateTime * Nullable<DateTime> * Nullable<DateTime> * Nullable<Guid> * string * System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.StreamingLocatorContentKey> * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.Media.Models.SystemData -> Microsoft.Azure.Management.Media.Models.StreamingLocator
Public Sub New (assetName As String, streamingPolicyName As String, Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional created As DateTime = Nothing, Optional startTime As Nullable(Of DateTime) = Nothing, Optional endTime As Nullable(Of DateTime) = Nothing, Optional streamingLocatorId As Nullable(Of Guid) = Nothing, Optional defaultContentKeyPolicyName As String = Nothing, Optional contentKeys As IList(Of StreamingLocatorContentKey) = Nothing, Optional alternativeMediaId As String = Nothing, Optional filters As IList(Of String) = Nothing, Optional systemData As SystemData = Nothing)
参数
- assetName
- String
资产名称
- streamingPolicyName
- String
此流式处理定位符使用的流式处理策略的名称。 指定创建的流式处理策略的名称,或使用一个预定义的流式处理策略。 可用的预定义流式处理策略包括:“Predefined_DownloadOnly”、“Predefined_ClearStreamingOnly”、“Predefined_DownloadAndClearStreaming”、“Predefined_ClearKey”、“Predefined_MultiDrmCencStreaming”和“Predefined_MultiDrmStreaming”
- id
- String
资源的完全限定的资源 ID。 例如 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}
- name
- String
资源的名称
- type
- String
资源类型。 例如“Microsoft.Compute/virtualMachines”或“Microsoft.Storage/storageAccounts”
- created
- DateTime
流式处理定位符的创建时间。
- defaultContentKeyPolicyName
- String
此流式处理定位符使用的默认 ContentKeyPolicy 的名称。
- contentKeys
- IList<StreamingLocatorContentKey>
此流式处理定位符使用的 Contentkey。
- alternativeMediaId
- String
此流式处理定位符的备用媒体 ID
- systemData
- SystemData
与此资源相关的系统元数据。