last sync: 2021-Aug-04 14:59:26 UTC

Azure Policy definition

Azure Media Services accounts should use an API that supports Private Link

Name Azure Media Services accounts should use an API that supports Private Link
Azure Portal
Id a77d8bb4-8d22-4bc1-a884-f582a705b480
Version 1.0.0
details on versioning
Category Media Services
Microsoft docs
Description Media Services accounts should be created with an API that supports private link.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Deny, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2021-05-18 14:34:48 add a77d8bb4-8d22-4bc1-a884-f582a705b480
Used in Initiatives none
JSON
{
  "properties": {
    "displayName": "Azure Media Services accounts should use an API that supports Private Link",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "Media Services accounts should be created with an API that supports private link.",
    "metadata": {
      "version": "1.0.0",
      "category": "Media Services"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Audit",
          "Deny",
          "Disabled"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Media/mediaservices"
          },
          {
            "field": "Microsoft.Media/mediaservices/encryption.type",
            "exists": "false"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/a77d8bb4-8d22-4bc1-a884-f582a705b480",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "a77d8bb4-8d22-4bc1-a884-f582a705b480"
}