Freigeben über


ArmMediaModelFactory.ContentKeyPolicyData Methode

Definition

Initialisiert eine neue instance von 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

Parameter

id
ResourceIdentifier

Die ID.

name
String

Der Name.

resourceType
ResourceType

Der resourceType.

systemData
SystemData

SystemData.

policyId
Nullable<Guid>

Die ID der Legacyrichtlinie.

createdOn
Nullable<DateTimeOffset>

Das Erstellungsdatum der Richtlinie.

lastModifiedOn
Nullable<DateTimeOffset>

Das Datum der letzten Änderung der Richtlinie.

description
String

Eine Beschreibung der Richtlinie.

options
IEnumerable<ContentKeyPolicyOption>

Die Optionen für die Schlüsselrichtlinie.

Gibt zurück

Eine neue ContentKeyPolicyData instance zum Simulieren.

Gilt für: