You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
resource"azurerm_media_streaming_policy""this" {
# default_content_key_policy_name - (optional) is a type of stringdefault_content_key_policy_name=var.default_content_key_policy_name# media_services_account_name - (required) is a type of stringmedia_services_account_name=var.media_services_account_name# name - (required) is a type of stringname=var.name# resource_group_name - (required) is a type of stringresource_group_name=var.resource_group_namedynamic"common_encryption_cbcs" {
for_each=var.common_encryption_cbcscontent {
dynamic"default_content_key" {
for_each=common_encryption_cbcs.value.default_content_keycontent {
# label - (optional) is a type of stringlabel=default_content_key.value["label"]
# policy_name - (optional) is a type of stringpolicy_name=default_content_key.value["policy_name"]
}
}
dynamic"drm_fairplay" {
for_each=common_encryption_cbcs.value.drm_fairplaycontent {
# allow_persistent_license - (optional) is a type of boolallow_persistent_license=drm_fairplay.value["allow_persistent_license"]
# custom_license_acquisition_url_template - (optional) is a type of stringcustom_license_acquisition_url_template=drm_fairplay.value["custom_license_acquisition_url_template"]
}
}
dynamic"enabled_protocols" {
for_each=common_encryption_cbcs.value.enabled_protocolscontent {
# dash - (optional) is a type of booldash=enabled_protocols.value["dash"]
# download - (optional) is a type of booldownload=enabled_protocols.value["download"]
# hls - (optional) is a type of boolhls=enabled_protocols.value["hls"]
# smooth_streaming - (optional) is a type of boolsmooth_streaming=enabled_protocols.value["smooth_streaming"]
}
}
}
}
dynamic"common_encryption_cenc" {
for_each=var.common_encryption_cenccontent {
# drm_widevine_custom_license_acquisition_url_template - (optional) is a type of stringdrm_widevine_custom_license_acquisition_url_template=common_encryption_cenc.value["drm_widevine_custom_license_acquisition_url_template"]
dynamic"default_content_key" {
for_each=common_encryption_cenc.value.default_content_keycontent {
# label - (optional) is a type of stringlabel=default_content_key.value["label"]
# policy_name - (optional) is a type of stringpolicy_name=default_content_key.value["policy_name"]
}
}
dynamic"drm_playready" {
for_each=common_encryption_cenc.value.drm_playreadycontent {
# custom_attributes - (optional) is a type of stringcustom_attributes=drm_playready.value["custom_attributes"]
# custom_license_acquisition_url_template - (optional) is a type of stringcustom_license_acquisition_url_template=drm_playready.value["custom_license_acquisition_url_template"]
}
}
dynamic"enabled_protocols" {
for_each=common_encryption_cenc.value.enabled_protocolscontent {
# dash - (optional) is a type of booldash=enabled_protocols.value["dash"]
# download - (optional) is a type of booldownload=enabled_protocols.value["download"]
# hls - (optional) is a type of boolhls=enabled_protocols.value["hls"]
# smooth_streaming - (optional) is a type of boolsmooth_streaming=enabled_protocols.value["smooth_streaming"]
}
}
}
}
dynamic"no_encryption_enabled_protocols" {
for_each=var.no_encryption_enabled_protocolscontent {
# dash - (optional) is a type of booldash=no_encryption_enabled_protocols.value["dash"]
# download - (optional) is a type of booldownload=no_encryption_enabled_protocols.value["download"]
# hls - (optional) is a type of boolhls=no_encryption_enabled_protocols.value["hls"]
# smooth_streaming - (optional) is a type of boolsmooth_streaming=no_encryption_enabled_protocols.value["smooth_streaming"]
}
}
dynamic"timeouts" {
for_each=var.timeoutscontent {
# create - (optional) is a type of stringcreate=timeouts.value["create"]
# delete - (optional) is a type of stringdelete=timeouts.value["delete"]
# read - (optional) is a type of stringread=timeouts.value["read"]
}
}
}