Bicep リソース定義
mediaServices/streamingLocators リソースの種類は、次を対象とする操作と共にデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.Media/mediaServices/streamingLocators リソースを作成するには、次の Bicep をテンプレートに追加します。
resource symbolicname 'Microsoft.Media/mediaServices/streamingLocators@2018-06-01-preview' = {
parent: resourceSymbolicName
name: 'string'
properties: {
alternativeMediaId: 'string'
assetName: 'string'
contentKeys: [
{
id: 'string'
label: 'string'
tracks: [
{
trackSelections: [
{
operation: 'string'
property: 'string'
value: 'string'
}
]
}
]
value: 'string'
}
]
defaultContentKeyPolicyName: 'string'
endTime: 'string'
startTime: 'string'
streamingLocatorId: 'string'
streamingPolicyName: 'string'
}
}
プロパティ値
Microsoft.Media/mediaServices/streamingLocators
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | リソース名 | string (必須) |
| 親 | Bicep では、子リソースの親リソースを指定できます。 このプロパティを追加する必要があるのは、子リソースが親リソースの外部で宣言されている場合のみです。 詳細については、「親リソースの外部 |
種類のリソースのシンボリック名: mediaServices |
| プロパティ | ストリーミング ロケーターのプロパティを指定するクラス | StreamingLocatorProperties |
StreamingLocatorContentKey
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | コンテンツ キーの ID | 糸 制約: 最小長 = 36 最大長 = 36 パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ (必須) |
| ラベル | コンテンツ キーのラベル | 糸 |
| 跡 | このコンテンツ キーを使用するトラック | TrackSelection[] |
| 価値 | コンテンツ キーの値 | 糸 |
StreamingLocatorProperties
| 名前 | 形容 | 価値 |
|---|---|---|
| alternativeMediaId | StreamingLocator に関連付けられている代替メディア識別子。 この識別子を使用すると、StreamingPolicyName フィールドで指定された StreamingPolicy の CustomLicenseAcquisitionUrlTemplate または CustomKeyAcquisitionUrlTemplate で、同じ資産の異なる StreamingLocator を区別できます。 | 糸 |
| assetName | 資産名 | string (必須) |
| contentKeys | このストリーミング ロケーターで使用される ContentKeys | StreamingLocatorContentKey[] |
| defaultContentKeyPolicyName | このストリーミング ロケーターで使用される既定の ContentKeyPolicy | 糸 |
| endTime | ストリーミング ロケーターの EndTime | 糸 |
| 開始時間 | ストリーミング ロケーターの StartTime | 糸 |
| streamingLocatorId | ストリーミング ロケーターの StreamingLocatorId | 糸 制約: 最小長 = 36 最大長 = 36 パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
| streamingPolicyName | このストリーミング ロケーターで使用されるストリーミング ポリシー名。 作成したストリーミング ポリシーの名前を指定するか、定義済みのストリーミング ポリシーのいずれかを使用します。 使用可能な定義済みのストリーミング ポリシーは、'Predefined_DownloadOnly'、'Predefined_ClearStreamingOnly'、'Predefined_DownloadAndClearStreaming'、'Predefined_ClearKey'、'Predefined_SecureStreaming' および 'Predefined_SecureStreamingWithFairPlay' です。 | string (必須) |
TrackPropertyCondition
| 名前 | 形容 | 価値 |
|---|---|---|
| 操作 | プロパティ条件操作の追跡 | 'Equal' 'Unknown' (必須) |
| 財産 | Track プロパティの種類 | 'FourCC' 'Unknown' (必須) |
| 価値 | Track プロパティ値 | 糸 |
TrackSelection
| 名前 | 形容 | 価値 |
|---|---|---|
| trackSelections | TrackSelections は、トラックを指定できるトラック プロパティ条件リストです。 | TrackPropertyCondition[] |
ARM テンプレート リソース定義
mediaServices/streamingLocators リソースの種類は、次を対象とする操作と共にデプロイできます。
- リソース グループの - リソース グループのデプロイ コマンド 参照
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.Media/mediaServices/streamingLocators リソースを作成するには、次の JSON をテンプレートに追加します。
{
"type": "Microsoft.Media/mediaServices/streamingLocators",
"apiVersion": "2018-06-01-preview",
"name": "string",
"properties": {
"alternativeMediaId": "string",
"assetName": "string",
"contentKeys": [
{
"id": "string",
"label": "string",
"tracks": [
{
"trackSelections": [
{
"operation": "string",
"property": "string",
"value": "string"
}
]
}
],
"value": "string"
}
],
"defaultContentKeyPolicyName": "string",
"endTime": "string",
"startTime": "string",
"streamingLocatorId": "string",
"streamingPolicyName": "string"
}
}
プロパティ値
Microsoft.Media/mediaServices/streamingLocators
| 名前 | 形容 | 価値 |
|---|---|---|
| apiVersion | API のバージョン | '2018-06-01-preview' |
| 名前 | リソース名 | string (必須) |
| プロパティ | ストリーミング ロケーターのプロパティを指定するクラス | StreamingLocatorProperties |
| 種類 | リソースの種類 | 'Microsoft.Media/mediaServices/streamingLocators' |
StreamingLocatorContentKey
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | コンテンツ キーの ID | 糸 制約: 最小長 = 36 最大長 = 36 パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ (必須) |
| ラベル | コンテンツ キーのラベル | 糸 |
| 跡 | このコンテンツ キーを使用するトラック | TrackSelection[] |
| 価値 | コンテンツ キーの値 | 糸 |
StreamingLocatorProperties
| 名前 | 形容 | 価値 |
|---|---|---|
| alternativeMediaId | StreamingLocator に関連付けられている代替メディア識別子。 この識別子を使用すると、StreamingPolicyName フィールドで指定された StreamingPolicy の CustomLicenseAcquisitionUrlTemplate または CustomKeyAcquisitionUrlTemplate で、同じ資産の異なる StreamingLocator を区別できます。 | 糸 |
| assetName | 資産名 | string (必須) |
| contentKeys | このストリーミング ロケーターで使用される ContentKeys | StreamingLocatorContentKey[] |
| defaultContentKeyPolicyName | このストリーミング ロケーターで使用される既定の ContentKeyPolicy | 糸 |
| endTime | ストリーミング ロケーターの EndTime | 糸 |
| 開始時間 | ストリーミング ロケーターの StartTime | 糸 |
| streamingLocatorId | ストリーミング ロケーターの StreamingLocatorId | 糸 制約: 最小長 = 36 最大長 = 36 パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
| streamingPolicyName | このストリーミング ロケーターで使用されるストリーミング ポリシー名。 作成したストリーミング ポリシーの名前を指定するか、定義済みのストリーミング ポリシーのいずれかを使用します。 使用可能な定義済みのストリーミング ポリシーは、'Predefined_DownloadOnly'、'Predefined_ClearStreamingOnly'、'Predefined_DownloadAndClearStreaming'、'Predefined_ClearKey'、'Predefined_SecureStreaming' および 'Predefined_SecureStreamingWithFairPlay' です。 | string (必須) |
TrackPropertyCondition
| 名前 | 形容 | 価値 |
|---|---|---|
| 操作 | プロパティ条件操作の追跡 | 'Equal' 'Unknown' (必須) |
| 財産 | Track プロパティの種類 | 'FourCC' 'Unknown' (必須) |
| 価値 | Track プロパティ値 | 糸 |
TrackSelection
| 名前 | 形容 | 価値 |
|---|---|---|
| trackSelections | TrackSelections は、トラックを指定できるトラック プロパティ条件リストです。 | TrackPropertyCondition[] |
使用例
Terraform (AzAPI プロバイダー) リソース定義
mediaServices/streamingLocators リソースの種類は、次を対象とする操作と共にデプロイできます。
- リソース グループの
各 API バージョンで変更されたプロパティの一覧については、変更ログの
リソースの形式
Microsoft.Media/mediaServices/streamingLocators リソースを作成するには、次の Terraform をテンプレートに追加します。
resource "azapi_resource" "symbolicname" {
type = "Microsoft.Media/mediaServices/streamingLocators@2018-06-01-preview"
name = "string"
parent_id = "string"
body = {
properties = {
alternativeMediaId = "string"
assetName = "string"
contentKeys = [
{
id = "string"
label = "string"
tracks = [
{
trackSelections = [
{
operation = "string"
property = "string"
value = "string"
}
]
}
]
value = "string"
}
]
defaultContentKeyPolicyName = "string"
endTime = "string"
startTime = "string"
streamingLocatorId = "string"
streamingPolicyName = "string"
}
}
}
プロパティ値
Microsoft.Media/mediaServices/streamingLocators
| 名前 | 形容 | 価値 |
|---|---|---|
| 名前 | リソース名 | string (必須) |
| parent_id | このリソースの親であるリソースの ID。 | 種類のリソースの ID: mediaServices |
| プロパティ | ストリーミング ロケーターのプロパティを指定するクラス | StreamingLocatorProperties |
| 種類 | リソースの種類 | "Microsoft.Media/mediaServices/streamingLocators@2018-06-01-preview" |
StreamingLocatorContentKey
| 名前 | 形容 | 価値 |
|---|---|---|
| 身分証明書 | コンテンツ キーの ID | 糸 制約: 最小長 = 36 最大長 = 36 パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ (必須) |
| ラベル | コンテンツ キーのラベル | 糸 |
| 跡 | このコンテンツ キーを使用するトラック | TrackSelection[] |
| 価値 | コンテンツ キーの値 | 糸 |
StreamingLocatorProperties
| 名前 | 形容 | 価値 |
|---|---|---|
| alternativeMediaId | StreamingLocator に関連付けられている代替メディア識別子。 この識別子を使用すると、StreamingPolicyName フィールドで指定された StreamingPolicy の CustomLicenseAcquisitionUrlTemplate または CustomKeyAcquisitionUrlTemplate で、同じ資産の異なる StreamingLocator を区別できます。 | 糸 |
| assetName | 資産名 | string (必須) |
| contentKeys | このストリーミング ロケーターで使用される ContentKeys | StreamingLocatorContentKey[] |
| defaultContentKeyPolicyName | このストリーミング ロケーターで使用される既定の ContentKeyPolicy | 糸 |
| endTime | ストリーミング ロケーターの EndTime | 糸 |
| 開始時間 | ストリーミング ロケーターの StartTime | 糸 |
| streamingLocatorId | ストリーミング ロケーターの StreamingLocatorId | 糸 制約: 最小長 = 36 最大長 = 36 パターン = ^[0-9a-fA-F]{8}-([0-9a-fA-F]{4}-){3}[0-9a-fA-F]{12}$ |
| streamingPolicyName | このストリーミング ロケーターで使用されるストリーミング ポリシー名。 作成したストリーミング ポリシーの名前を指定するか、定義済みのストリーミング ポリシーのいずれかを使用します。 使用可能な定義済みのストリーミング ポリシーは、'Predefined_DownloadOnly'、'Predefined_ClearStreamingOnly'、'Predefined_DownloadAndClearStreaming'、'Predefined_ClearKey'、'Predefined_SecureStreaming' および 'Predefined_SecureStreamingWithFairPlay' です。 | string (必須) |
TrackPropertyCondition
| 名前 | 形容 | 価値 |
|---|---|---|
| 操作 | プロパティ条件操作の追跡 | 'Equal' 'Unknown' (必須) |
| 財産 | Track プロパティの種類 | 'FourCC' 'Unknown' (必須) |
| 価値 | Track プロパティ値 | 糸 |
TrackSelection
| 名前 | 形容 | 価値 |
|---|---|---|
| trackSelections | TrackSelections は、トラックを指定できるトラック プロパティ条件リストです。 | TrackPropertyCondition[] |