Compartir a través de


ArmMediaModelFactory.StreamingLocatorContentKey Method

Definition

Initializes a new instance of StreamingLocatorContentKey.

public static Azure.ResourceManager.Media.Models.StreamingLocatorContentKey StreamingLocatorContentKey (Guid id = default, Azure.ResourceManager.Media.Models.StreamingLocatorContentKeyType? keyType = default, string labelReferenceInStreamingPolicy = default, string value = default, string policyName = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.MediaTrackSelection> tracks = default);
static member StreamingLocatorContentKey : Guid * Nullable<Azure.ResourceManager.Media.Models.StreamingLocatorContentKeyType> * string * string * string * seq<Azure.ResourceManager.Media.Models.MediaTrackSelection> -> Azure.ResourceManager.Media.Models.StreamingLocatorContentKey
Public Shared Function StreamingLocatorContentKey (Optional id As Guid = Nothing, Optional keyType As Nullable(Of StreamingLocatorContentKeyType) = Nothing, Optional labelReferenceInStreamingPolicy As String = Nothing, Optional value As String = Nothing, Optional policyName As String = Nothing, Optional tracks As IEnumerable(Of MediaTrackSelection) = Nothing) As StreamingLocatorContentKey

Parameters

id
Guid

ID of Content Key.

keyType
Nullable<StreamingLocatorContentKeyType>

Encryption type of Content Key.

labelReferenceInStreamingPolicy
String

Label of Content Key as specified in the Streaming Policy.

value
String

Value of Content Key.

policyName
String

ContentKeyPolicy used by Content Key.

tracks
IEnumerable<MediaTrackSelection>

Tracks which use this Content Key.

Returns

A new StreamingLocatorContentKey instance for mocking.

Applies to