Compartilhar via


ArmMediaModelFactory.StreamingPolicyData Method

Definition

Initializes a new instance of StreamingPolicyData.

public static Azure.ResourceManager.Media.StreamingPolicyData StreamingPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, DateTimeOffset? createdOn = default, string defaultContentKeyPolicyName = default, Azure.ResourceManager.Media.Models.EnvelopeEncryption envelopeEncryption = default, Azure.ResourceManager.Media.Models.CommonEncryptionCenc commonEncryptionCenc = default, Azure.ResourceManager.Media.Models.CommonEncryptionCbcs commonEncryptionCbcs = default, Azure.ResourceManager.Media.Models.MediaEnabledProtocols noEncryptionEnabledProtocols = default);
static member StreamingPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<DateTimeOffset> * string * Azure.ResourceManager.Media.Models.EnvelopeEncryption * Azure.ResourceManager.Media.Models.CommonEncryptionCenc * Azure.ResourceManager.Media.Models.CommonEncryptionCbcs * Azure.ResourceManager.Media.Models.MediaEnabledProtocols -> Azure.ResourceManager.Media.StreamingPolicyData
Public Shared Function StreamingPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional defaultContentKeyPolicyName As String = Nothing, Optional envelopeEncryption As EnvelopeEncryption = Nothing, Optional commonEncryptionCenc As CommonEncryptionCenc = Nothing, Optional commonEncryptionCbcs As CommonEncryptionCbcs = Nothing, Optional noEncryptionEnabledProtocols As MediaEnabledProtocols = Nothing) As StreamingPolicyData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

createdOn
Nullable<DateTimeOffset>

Creation time of Streaming Policy.

defaultContentKeyPolicyName
String

Default ContentKey used by current Streaming Policy.

envelopeEncryption
EnvelopeEncryption

Configuration of EnvelopeEncryption.

commonEncryptionCenc
CommonEncryptionCenc

Configuration of CommonEncryptionCenc.

commonEncryptionCbcs
CommonEncryptionCbcs

Configuration of CommonEncryptionCbcs.

noEncryptionEnabledProtocols
MediaEnabledProtocols

Configurations of NoEncryption.

Returns

A new StreamingPolicyData instance for mocking.

Applies to