Compartir a través de


ArmMediaModelFactory.MediaAssetStreamingLocator Method

Definition

Initializes a new instance of MediaAssetStreamingLocator.

public static Azure.ResourceManager.Media.Models.MediaAssetStreamingLocator MediaAssetStreamingLocator (string name = default, string assetName = default, DateTimeOffset? createdOn = default, DateTimeOffset? startOn = default, DateTimeOffset? endOn = default, Guid? streamingLocatorId = default, string streamingPolicyName = default, string defaultContentKeyPolicyName = default);
static member MediaAssetStreamingLocator : string * string * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * Nullable<Guid> * string * string -> Azure.ResourceManager.Media.Models.MediaAssetStreamingLocator
Public Shared Function MediaAssetStreamingLocator (Optional name As String = 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) As MediaAssetStreamingLocator

Parameters

name
String

Streaming Locator name.

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.

streamingLocatorId
Nullable<Guid>

StreamingLocatorId of the Streaming Locator.

streamingPolicyName
String

Name of the Streaming Policy used by this Streaming Locator.

defaultContentKeyPolicyName
String

Name of the default ContentKeyPolicy used by this Streaming Locator.

Returns

A new MediaAssetStreamingLocator instance for mocking.

Applies to