-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
GuestConfiguration_ArcESU_Deny.json
42 lines (42 loc) · 1.23 KB
/
GuestConfiguration_ArcESU_Deny.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"properties": {
"displayName": "[Preview]: Deny Extended Security Updates (ESUs) license creation or modification.",
"policyType": "BuiltIn",
"mode": "Indexed",
"description": "This policy enables you to restrict the creation or modification of ESU licenses for Windows Server 2012 Arc machines. For more details on pricing please visit https://aka.ms/ArcWS2012ESUPricing",
"metadata": {
"version": "1.0.0-preview",
"category": "Azure Arc",
"preview": true
},
"version": "1.0.0-preview",
"parameters": {
"effect": {
"type": "String",
"metadata": {
"displayName": "Effect",
"description": "Enable or disable the execution of the policy"
},
"allowedValues": [
"Deny",
"Disabled"
],
"defaultValue": "Deny"
}
},
"policyRule": {
"if": {
"field": "type",
"equals": "Microsoft.HybridCompute/licenses"
},
"then": {
"effect": "[parameters('effect')]"
}
},
"versions": [
"1.0.0-PREVIEW"
]
},
"id": "/providers/Microsoft.Authorization/policyDefinitions/4c660f31-eafb-408d-a2b3-6ed2260bd26c",
"name": "4c660f31-eafb-408d-a2b3-6ed2260bd26c"
}