StreamingLocator Class

A Streaming Locator resource.

Variables are only populated by the server, and will be ignored when sending a request.

Inheritance
azure.mgmt.media.models._models_py3.ProxyResource
StreamingLocator

Constructor

StreamingLocator(*, asset_name: str | None = None, start_time: datetime | None = None, end_time: datetime | None = None, streaming_locator_id: str | None = None, streaming_policy_name: str | None = None, default_content_key_policy_name: str | None = None, content_keys: List[_models.StreamingLocatorContentKey] | None = None, alternative_media_id: str | None = None, filters: List[str] | None = None, **kwargs)

Keyword-Only Parameters

Name Description
asset_name
str

Asset Name.

start_time

The start time of the Streaming Locator.

end_time

The end time of the Streaming Locator.

streaming_locator_id
str

The StreamingLocatorId of the Streaming Locator.

streaming_policy_name
str

Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'.

default_content_key_policy_name
str

Name of the default ContentKeyPolicy used by this Streaming Locator.

content_keys

The ContentKeys used by this Streaming Locator.

alternative_media_id
str

Alternative Media ID of this Streaming Locator.

filters

A list of asset or account filters which apply to this streaming locator.

Variables

Name Description
id
str

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

name
str

The name of the resource.

type
str

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

system_data

The system metadata relating to this resource.

asset_name
str

Asset Name.

created

The creation time of the Streaming Locator.

start_time

The start time of the Streaming Locator.

end_time

The end time of the Streaming Locator.

streaming_locator_id
str

The StreamingLocatorId of the Streaming Locator.

streaming_policy_name
str

Name of the Streaming Policy used by this Streaming Locator. Either specify the name of Streaming Policy you created or use one of the predefined Streaming Policies. The predefined Streaming Policies available are: 'Predefined_DownloadOnly', 'Predefined_ClearStreamingOnly', 'Predefined_DownloadAndClearStreaming', 'Predefined_ClearKey', 'Predefined_MultiDrmCencStreaming' and 'Predefined_MultiDrmStreaming'.

default_content_key_policy_name
str

Name of the default ContentKeyPolicy used by this Streaming Locator.

content_keys

The ContentKeys used by this Streaming Locator.

alternative_media_id
str

Alternative Media ID of this Streaming Locator.

filters

A list of asset or account filters which apply to this streaming locator.