ArmMediaModelFactory.ContentKeyPolicyProperties 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 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
- 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.