ArmMediaModelFactory.ContentKeyPolicyProperties Method

Definition

Initializes a new instance of ContentKeyPolicyProperties.

public static Azure.ResourceManager.Media.Models.ContentKeyPolicyProperties ContentKeyPolicyProperties (Guid? policyId = default, DateTimeOffset? createdOn = default, DateTimeOffset? lastModifiedOn = default, string description = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Media.Models.ContentKeyPolicyOption> options = default);
static member ContentKeyPolicyProperties : Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.Media.Models.ContentKeyPolicyOption> -> Azure.ResourceManager.Media.Models.ContentKeyPolicyProperties
Public Shared Function ContentKeyPolicyProperties (Optional policyId As Nullable(Of Guid) = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional lastModifiedOn As Nullable(Of DateTimeOffset) = Nothing, Optional description As String = Nothing, Optional options As IEnumerable(Of ContentKeyPolicyOption) = Nothing) As ContentKeyPolicyProperties

Parameters

policyId
Nullable<Guid>

The legacy Policy ID.

createdOn
Nullable<DateTimeOffset>

The creation date of the Policy.

lastModifiedOn
Nullable<DateTimeOffset>

The last modified date of the Policy.

description
String

A description for the Policy.

options
IEnumerable<ContentKeyPolicyOption>

The Key Policy options.

Returns

A new ContentKeyPolicyProperties instance for mocking.

Applies to