Mods
Azure

Policy: Azure > Compute > Virtual Machine > Approved > Image > Rules

An OCL policy to define the status of Images based on fields in the image reference data.

Standard OCL syntax may be used. Allowed actions are: ENABLED - Images that match should be considered "enabled" DEPRECATED - Images that match should be considered "deprecated" DISABLED - Images that match should be considered "disabled" and may not be used

Examples: ENABLED * # Allow all images published DEPRECATED $.publisher:MicrosoftWindowsServer $.sku:2016-Datacenter $.offer:WindowsServer # Windows Server 2016 images are deprecated. New vms may not use these Images DISABLED $.publisher:MicrosoftWindowsServer $.sku:/^2012-/ $.offer:WindowsServer # Windows Server 2012 images are disabled.

Resource Types

This policy targets the following resource types:

Primary Policy

This policy is used with the following primary policy:

Controls

Policy Packs

This policy setting is used by the following policy packs:

Policy Specification

Schema Type
string
Default
# Approve unmatched rules
ENABLED *

Category

In Your Workspace

Developers