共用方式為


ContentKeyPolicy Constructors

Definition

Overloads

ContentKeyPolicy()

Initializes a new instance of the ContentKeyPolicy class.

ContentKeyPolicy(IList<ContentKeyPolicyOption>, String, String, String, Guid, DateTime, DateTime, String, SystemData)

Initializes a new instance of the ContentKeyPolicy class.

ContentKeyPolicy()

Initializes a new instance of the ContentKeyPolicy class.

public ContentKeyPolicy ();
Public Sub New ()

Applies to

ContentKeyPolicy(IList<ContentKeyPolicyOption>, String, String, String, Guid, DateTime, DateTime, String, SystemData)

Initializes a new instance of the ContentKeyPolicy class.

public ContentKeyPolicy (System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> options, string id = default, string name = default, string type = default, Guid policyId = default, DateTime created = default, DateTime lastModified = default, string description = default, Microsoft.Azure.Management.Media.Models.SystemData systemData = default);
new Microsoft.Azure.Management.Media.Models.ContentKeyPolicy : System.Collections.Generic.IList<Microsoft.Azure.Management.Media.Models.ContentKeyPolicyOption> * string * string * string * Guid * DateTime * DateTime * string * Microsoft.Azure.Management.Media.Models.SystemData -> Microsoft.Azure.Management.Media.Models.ContentKeyPolicy
Public Sub New (options As IList(Of ContentKeyPolicyOption), Optional id As String = Nothing, Optional name As String = Nothing, Optional type As String = Nothing, Optional policyId As Guid = Nothing, Optional created As DateTime = Nothing, Optional lastModified As DateTime = Nothing, Optional description As String = Nothing, Optional systemData As SystemData = Nothing)

Parameters

options
IList<ContentKeyPolicyOption>

The Key Policy options.

id
String

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name
String

The name of the resource

type
String

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

policyId
Guid

The legacy Policy ID.

created
DateTime

The creation date of the Policy

lastModified
DateTime

The last modified date of the Policy

description
String

A description for the Policy.

systemData
SystemData

The system metadata relating to this resource.

Applies to