ArmMediaModelFactory.StreamingLocatorData Method
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.
Initializes a new instance of 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
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- assetName
- String
Asset Name.
- createdOn
- Nullable<DateTimeOffset>
The creation time of the Streaming Locator.
- startOn
- Nullable<DateTimeOffset>
The start time of the Streaming Locator.
- endOn
- Nullable<DateTimeOffset>
The end time of the Streaming Locator.
- streamingPolicyName
- String
Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'.
- defaultContentKeyPolicyName
- String
Name of the default ContentKeyPolicy used by this Streaming Locator.
- contentKeys
- IEnumerable<StreamingLocatorContentKey>
The ContentKeys used by this Streaming Locator.
- alternativeMediaId
- String
Alternative Media ID of this Streaming Locator.
- filters
- IEnumerable<String>
A list of asset or account filters which apply to this streaming locator.
Returns
A new StreamingLocatorData instance for mocking.