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 | |
---|---|---|
AccessPolicy | Gets the IAccessPolicy that defines this locator. | |
AccessPolicyId | Gets the access policy identifier. | |
Asset | Gets the IAsset that this locator is attached to. | |
AssetId | Gets the asset identifier of this locator. | |
BaseUri | Gets the base Uri of this locator. | |
ContentAccessComponent | Gets the content access component of this locator. | |
ExpirationDateTime | Gets the expiration date time of this locator. | |
Id | Gets the identifier of this locator. | |
Name | Gets the name of the locator. | |
Path | Gets the locator path. | |
StartTime | Gets the locator start time. | |
Type | Gets the locator type. |
Top
Methods
Name | Description | |
---|---|---|
Delete | Deletes the specified Locator, revoking any access it provided. | |
DeleteAsync | Asynchronously revokes the specified Locator, denying any access it provided. | |
Update(DateTime) | Updates the expiration time of an Origin locator. | |
Update(Nullable<DateTime>, DateTime) | Updates the start time or expiration time of an Origin locator. | |
UpdateAsync(DateTime) | Asynchronously updates the expiration time of an Origin locator. | |
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.