ArmMediaModelFactory.ContentKeyPolicyData 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 ContentKeyPolicyData.
public static Azure.ResourceManager.Media.ContentKeyPolicyData ContentKeyPolicyData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, 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 ContentKeyPolicyData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Guid> * Nullable<DateTimeOffset> * Nullable<DateTimeOffset> * string * seq<Azure.ResourceManager.Media.Models.ContentKeyPolicyOption> -> Azure.ResourceManager.Media.ContentKeyPolicyData
Public Shared Function ContentKeyPolicyData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, 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 ContentKeyPolicyData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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 ContentKeyPolicyData instance for mocking.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET