ILocator Interface

Represents the application of an access policy to an asset.

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

Syntax

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

The ILocator type exposes the following members.

Properties

  Name Description
Public property AccessPolicy Gets the IAccessPolicy that defines this locator.
Public property AccessPolicyId Gets the access policy identifier.
Public property Asset Gets the IAsset that this locator is attached to.
Public property AssetId Gets the asset identifier of this locator.
Public property BaseUri Gets the base Uri of this locator.
Public property ContentAccessComponent Gets the content access component of this locator.
Public property ExpirationDateTime Gets the expiration date time of this locator.
Public property Id Gets the identifier of this locator.
Public property Name Gets the name of the locator.
Public property Path Gets the locator path.
Public property StartTime Gets the locator start time.
Public property Type Gets the locator type.

Top

Methods

  Name Description
Public method Delete Deletes the specified Locator, revoking any access it provided.
Public method DeleteAsync Asynchronously revokes the specified Locator, denying any access it provided.
Public method Update(DateTime) Updates the expiration time of an Origin locator.
Public method Update(Nullable<DateTime>, DateTime) Updates the start time or expiration time of an Origin locator.
Public method UpdateAsync(DateTime) Asynchronously updates the expiration time of an Origin locator.
Public method UpdateAsync(Nullable<DateTime>, DateTime) Asynchronously updates the start time or expiration time of an Origin locator.

Top

Remarks

A locator provides access to an asset using the Path property.

See Also

Reference

Microsoft.WindowsAzure.MediaServices.Client Namespace