Partilhar via


ArmMediaModelFactory.ContentKeyPolicyData Método

Definição

Inicializa uma nova instância 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

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

policyId
Nullable<Guid>

A ID de política herdada.

createdOn
Nullable<DateTimeOffset>

A data de criação da Política.

lastModifiedOn
Nullable<DateTimeOffset>

A última data modificada da Política.

description
String

Uma descrição para a política.

options
IEnumerable<ContentKeyPolicyOption>

As principais opções de política.

Retornos

Uma nova ContentKeyPolicyData instância para zombar.

Aplica-se a