Share via


IAccessPolicy Interface

Defines an access policy to an IAsset in the system.

Namespace:  Microsoft.WindowsAzure.MediaServices.Client
Assembly:  Microsoft.WindowsAzure.MediaServices.Client (in Microsoft.WindowsAzure.MediaServices.Client.dll)

Syntax

'Declaration
Public Interface IAccessPolicy
'Usage
Dim instance As IAccessPolicy
public interface IAccessPolicy
public interface class IAccessPolicy
type IAccessPolicy =  interface end
public interface IAccessPolicy

The IAccessPolicy type exposes the following members.

Properties

  Name Description
Public property Created This value is set by Media Services at creation time. It represents the number of milliseconds since midnight Jan 1, 1970.
Public property Duration Gets the duration.
Public property Id Unique identifier set by Media Services.
Public property LastModified This value is updated by Media Services after any property changes are made. It represents the number of milliseconds since midnight Jan 1, 1970.
Public property Name Required. Friendly name for your AccessPolicy.
Public property Permissions Optional. This value specifies the access rights the client has when interacting with the Asset.

Top

Methods

  Name Description
Public method Delete Deletes an access policy.
Public method DeleteAsync Asynchronously deletes an access policy.

Top

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace