Partager via


ArmMediaModelFactory.ContentKeyPolicyData Méthode

Définition

Initialise une nouvelle instance de 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

Paramètres

name
String

Nom.

resourceType
ResourceType

ResourceType.

systemData
SystemData

SystemData.

policyId
Nullable<Guid>

ID de stratégie hérité.

createdOn
Nullable<DateTimeOffset>

Date de création de la stratégie.

lastModifiedOn
Nullable<DateTimeOffset>

Date de dernière modification de la stratégie.

description
String

Description de la stratégie.

options
IEnumerable<ContentKeyPolicyOption>

Options de la stratégie de clé.

Retours

Une nouvelle ContentKeyPolicyData instance de moqueries.

S’applique à