Streaming Policies - Get

ストリーミング ポリシーを取得する
Media Services アカウントでストリーミング ポリシーの詳細を取得する

GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Media/mediaServices/{accountName}/streamingPolicies/{streamingPolicyName}?api-version=2022-08-01

URI パラメーター

名前 / 必須 説明
accountName
path True

string

Media Services アカウント名。

resourceGroupName
path True

string

Azure サブスクリプション内のリソース グループの名前。

streamingPolicyName
path True

string

ストリーミング ポリシー名。

subscriptionId
path True

string

Microsoft Azure サブスクリプションの一意識別子。

api-version
query True

string

クライアント要求で使用される API のバージョン。

応答

名前 説明
200 OK

StreamingPolicy

OK

Other Status Codes

ErrorResponse

詳細なエラー情報。

Get a Streaming Policy by name

Sample Request

GET https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaServices/contosomedia/streamingPolicies/clearStreamingPolicy?api-version=2022-08-01

Sample Response

{
  "name": "clearStreamingPolicy",
  "id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/contosorg/providers/Microsoft.Media/mediaservices/contosomedia/streamingPolicies/clearStreamingPolicy",
  "type": "Microsoft.Media/mediaservices/streamingPolicies",
  "properties": {
    "created": "2018-08-08T18:29:30.8501486Z",
    "noEncryption": {
      "enabledProtocols": {
        "download": true,
        "dash": true,
        "hls": true,
        "smoothStreaming": true
      }
    }
  }
}

定義

名前 説明
CbcsDrmConfiguration

ストリーミング ポリシーで CommonEncryptionCbcs スキームの DRM 構成を指定するクラス

CencDrmConfiguration

ストリーミング ポリシーで CommonEncryptionCenc スキームの DRM 構成を指定するクラス

ClearKeyEncryptionConfiguration

ストリーミング ポリシーで一般的な暗号化スキームの ClearKey 構成を指定するクラス

CommonEncryptionCbcs

CommonEncryptionCbcs 暗号化スキームのクラス

CommonEncryptionCenc

エンベロープ暗号化スキームのクラス

createdByType

リソースを作成した ID の種類。

DefaultKey

各暗号化スキームの既定のコンテンツ キーのプロパティを指定するクラス

EnabledProtocols

有効にするプロトコルを指定するクラス

EnvelopeEncryption

EnvelopeEncryption 暗号化スキームのクラス

ErrorAdditionalInfo

リソース管理エラーの追加情報。

ErrorDetail

エラーの詳細。

ErrorResponse

エラー応答

NoEncryption

NoEncryption スキームのクラス

StreamingPolicy

ストリーミング ポリシー リソース

StreamingPolicyContentKey

コンテンツ キーのプロパティを指定するクラス

StreamingPolicyContentKeys

ストリーミング ポリシー内のすべてのコンテンツ キーのプロパティを指定するクラス

StreamingPolicyFairPlayConfiguration

ストリーミング ポリシーで FairPlay の構成を指定するクラス

StreamingPolicyPlayReadyConfiguration

ストリーミング ポリシーで PlayReady の構成を指定するクラス

StreamingPolicyWidevineConfiguration

ストリーミング ポリシーで Widevine の構成を指定するクラス

systemData

リソースの作成と最後の変更に関連するメタデータ。

TrackPropertyCompareOperation

プロパティ条件の追跡操作

TrackPropertyCondition

1 つのトラック プロパティ条件を指定するクラス

TrackPropertyType

Track プロパティの種類

TrackSelection

トラックを選択するクラス

CbcsDrmConfiguration

ストリーミング ポリシーで CommonEncryptionCbcs スキームの DRM 構成を指定するクラス

名前 説明
fairPlay

StreamingPolicyFairPlayConfiguration

FairPlay の構成

playReady

StreamingPolicyPlayReadyConfiguration

PlayReady の構成

widevine

StreamingPolicyWidevineConfiguration

Widevine の構成

CencDrmConfiguration

ストリーミング ポリシーで CommonEncryptionCenc スキームの DRM 構成を指定するクラス

名前 説明
playReady

StreamingPolicyPlayReadyConfiguration

PlayReady の構成

widevine

StreamingPolicyWidevineConfiguration

Widevine の構成

ClearKeyEncryptionConfiguration

ストリーミング ポリシーで一般的な暗号化スキームの ClearKey 構成を指定するクラス

名前 説明
customKeysAcquisitionUrlTemplate

string

エンド ユーザー プレーヤーにコンテンツ キーを配信するカスタム サービスの URL のテンプレート。 ライセンスの発行に Azure Media Services を使用するときは必要ありません。 このテンプレートでは、置換できるトークンがサポートされ、実行時にサービスによって要求固有の値に更新されます。 現在サポートされているトークン値は {AlternativeMediaId} で、StreamingLocatorId.AlternativeMediaId の値に置き換えられます。

CommonEncryptionCbcs

CommonEncryptionCbcs 暗号化スキームのクラス

名前 説明
clearKeyEncryptionConfiguration

ClearKeyEncryptionConfiguration

CommonEncryptionCbcs 暗号化スキームで ClearKey をサポートするオプションの構成。

clearTracks

TrackSelection[]

暗号化すべきではないトラックを表す

contentKeys

StreamingPolicyContentKeys

各暗号化スキームの既定のコンテンツ キーと、特定のトラック用の個別のコンテンツ キーを表す

drm

CbcsDrmConfiguration

現在の暗号化スキームの DRM の構成

enabledProtocols

EnabledProtocols

サポートされているプロトコルの表し方

CommonEncryptionCenc

エンベロープ暗号化スキームのクラス

名前 説明
clearKeyEncryptionConfiguration

ClearKeyEncryptionConfiguration

CommonEncryptionCenc 暗号化スキームで ClearKey をサポートするオプションの構成。

clearTracks

TrackSelection[]

暗号化すべきではないトラックを表す

contentKeys

StreamingPolicyContentKeys

各暗号化スキームの既定のコンテンツ キーと、特定のトラック用の個別のコンテンツ キーを表す

drm

CencDrmConfiguration

CommonEncryptionCenc 暗号化スキームの DRM の構成

enabledProtocols

EnabledProtocols

サポートされているプロトコルの表し方

createdByType

リソースを作成した ID の種類。

名前 説明
Application

string

Key

string

ManagedIdentity

string

User

string

DefaultKey

各暗号化スキームの既定のコンテンツ キーのプロパティを指定するクラス

名前 説明
label

string

ストリーミング ロケーターを作成するときに、ラベルを使用してコンテンツ キーを指定できます

policyName

string

既定のキーで使用されるポリシー

EnabledProtocols

有効にするプロトコルを指定するクラス

名前 説明
dash

boolean

DASH プロトコルを有効にするかどうか

download

boolean

ダウンロード プロトコルを有効にするかどうか

hls

boolean

HLS プロトコルを有効にするかどうか

smoothStreaming

boolean

SmoothStreaming プロトコルを有効にするかどうか

EnvelopeEncryption

EnvelopeEncryption 暗号化スキームのクラス

名前 説明
clearTracks

TrackSelection[]

暗号化すべきではないトラックを表す

contentKeys

StreamingPolicyContentKeys

各暗号化スキームの既定のコンテンツ キーと、特定のトラック用の個別のコンテンツ キーを表す

customKeyAcquisitionUrlTemplate

string

エンド ユーザー プレーヤーにキーを配信するカスタム サービスの URL のテンプレート。 キーの発行に Azure Media Services を使用するときは必要ありません。 このテンプレートでは、置換できるトークンがサポートされ、実行時にサービスによって要求固有の値に更新されます。 現在サポートされているトークンの値は、StreamingLocatorId.AlternativeMediaId の値で置換される {AlternativeMediaId} と、要求対象のキーの ID 値で置換される {ContentKeyId} です。

enabledProtocols

EnabledProtocols

サポートされているプロトコルの表し方

ErrorAdditionalInfo

リソース管理エラーの追加情報。

名前 説明
info

object

追加情報。

type

string

追加情報の種類。

ErrorDetail

エラーの詳細。

名前 説明
additionalInfo

ErrorAdditionalInfo[]

エラーの追加情報。

code

string

エラー コード。

details

ErrorDetail[]

エラーの詳細です。

message

string

エラー メッセージ。

target

string

エラーのターゲット。

ErrorResponse

エラー応答

名前 説明
error

ErrorDetail

error オブジェクト。

NoEncryption

NoEncryption スキームのクラス

名前 説明
enabledProtocols

EnabledProtocols

サポートされているプロトコルの表し方

StreamingPolicy

ストリーミング ポリシー リソース

名前 説明
id

string

リソースの完全修飾リソース ID。 例 - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

string

リソースの名前

properties.commonEncryptionCbcs

CommonEncryptionCbcs

CommonEncryptionCbcs の構成

properties.commonEncryptionCenc

CommonEncryptionCenc

CommonEncryptionCenc の構成

properties.created

string

ストリーミング ポリシーの作成時刻

properties.defaultContentKeyPolicyName

string

現在のストリーミング ポリシーによって使用される既定の ContentKey

properties.envelopeEncryption

EnvelopeEncryption

EnvelopeEncryption の構成

properties.noEncryption

NoEncryption

NoEncryption の構成

systemData

systemData

このリソースに関連するシステム メタデータ。

type

string

リソースの型。 例: "Microsoft.Compute/virtualMachines" または "Microsoft.Storage/storageAccounts"

StreamingPolicyContentKey

コンテンツ キーのプロパティを指定するクラス

名前 説明
label

string

ストリーミング ロケーターを作成するときに、ラベルを使用してコンテンツ キーを指定できます

policyName

string

コンテンツ キーで使用されるポリシー

tracks

TrackSelection[]

このコンテンツ キーを使用するトラック

StreamingPolicyContentKeys

ストリーミング ポリシー内のすべてのコンテンツ キーのプロパティを指定するクラス

名前 説明
defaultKey

DefaultKey

暗号化スキームの既定のコンテンツ キー

keyToTrackMappings

StreamingPolicyContentKey[]

トラックを表すには、個別のコンテンツ キーが必要です

StreamingPolicyFairPlayConfiguration

ストリーミング ポリシーで FairPlay の構成を指定するクラス

名前 説明
allowPersistentLicense

boolean

すべてのライセンスが永続的かどうか

customLicenseAcquisitionUrlTemplate

string

エンド ユーザー プレーヤーにライセンスを配信するカスタム サービスの URL のテンプレート。 ライセンスの発行に Azure Media Services を使用するときは必要ありません。 このテンプレートでは、置換できるトークンがサポートされ、実行時にサービスによって要求固有の値に更新されます。 現在サポートされているトークンの値は、StreamingLocatorId.AlternativeMediaId の値で置換される {AlternativeMediaId} と、要求対象のキーの ID 値で置換される {ContentKeyId} です。

StreamingPolicyPlayReadyConfiguration

ストリーミング ポリシーで PlayReady の構成を指定するクラス

名前 説明
customLicenseAcquisitionUrlTemplate

string

エンド ユーザー プレーヤーにライセンスを配信するカスタム サービスの URL のテンプレート。 ライセンスの発行に Azure Media Services を使用するときは必要ありません。 このテンプレートでは、置換できるトークンがサポートされ、実行時にサービスによって要求固有の値に更新されます。 現在サポートされているトークンの値は、StreamingLocatorId.AlternativeMediaId の値で置換される {AlternativeMediaId} と、要求対象のキーの ID 値で置換される {ContentKeyId} です。

playReadyCustomAttributes

string

PlayReady のカスタム属性

StreamingPolicyWidevineConfiguration

ストリーミング ポリシーで Widevine の構成を指定するクラス

名前 説明
customLicenseAcquisitionUrlTemplate

string

エンド ユーザー プレーヤーにライセンスを配信するカスタム サービスの URL のテンプレート。 ライセンスの発行に Azure Media Services を使用するときは必要ありません。 このテンプレートでは、置換できるトークンがサポートされ、実行時にサービスによって要求固有の値に更新されます。 現在サポートされているトークンの値は、StreamingLocatorId.AlternativeMediaId の値で置換される {AlternativeMediaId} と、要求対象のキーの ID 値で置換される {ContentKeyId} です。

systemData

リソースの作成と最後の変更に関連するメタデータ。

名前 説明
createdAt

string

リソース作成のタイムスタンプ (UTC)。

createdBy

string

リソースを作成した ID。

createdByType

createdByType

リソースを作成した ID の種類。

lastModifiedAt

string

リソースの最終変更のタイムスタンプ (UTC)

lastModifiedBy

string

リソースを最後に変更した ID。

lastModifiedByType

createdByType

リソースを最後に変更した ID の種類。

TrackPropertyCompareOperation

プロパティ条件の追跡操作

名前 説明
Equal

string

等しい演算

Unknown

string

不明なトラック プロパティの比較操作

TrackPropertyCondition

1 つのトラック プロパティ条件を指定するクラス

名前 説明
operation

TrackPropertyCompareOperation

プロパティ条件の操作を追跡する

property

TrackPropertyType

プロパティの種類を追跡する

value

string

プロパティ値を追跡する

TrackPropertyType

Track プロパティの種類

名前 説明
FourCC

string

FourCC を追跡する

Unknown

string

不明なトラック プロパティ

TrackSelection

トラックを選択するクラス

名前 説明
trackSelections

TrackPropertyCondition[]

TrackSelections は、トラックを指定できるトラック プロパティ条件リストです