Skip to content

Commit 8740973

Browse files
rotem-aharoniRotem Aharoni
andauthored
add example for pricing ACR Pur req resource level (#39978)
* add example for pricing ACR Pur req resource level * add example for pricing ACR Pur req resource level * PRETTIERT * fix prettier --------- Co-authored-by: Rotem Aharoni <rotemaharoni@microsoft.com>
1 parent 49bbe29 commit 8740973

2 files changed

Lines changed: 75 additions & 0 deletions

File tree

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
"parameters": {
3+
"api-version": "2024-01-01",
4+
"scopeId": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry",
5+
"pricingName": "Containers",
6+
"pricing": {
7+
"properties": {
8+
"pricingTier": "Standard",
9+
"extensions": [
10+
{
11+
"name": "ContainerRegistriesVulnerabilityAssessments",
12+
"isEnabled": "True"
13+
},
14+
{
15+
"name": "ContainerIntegrityContribution",
16+
"isEnabled": "True"
17+
}
18+
]
19+
}
20+
}
21+
},
22+
"responses": {
23+
"200": {
24+
"body": {
25+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry/providers/Microsoft.Security/pricings/Containers",
26+
"name": "Containers",
27+
"type": "Microsoft.Security/pricings",
28+
"properties": {
29+
"pricingTier": "Standard",
30+
"freeTrialRemainingTime": "P29DT23H55M",
31+
"enablementTime": "2025-01-14T16:35:12.4567890Z",
32+
"inherited": "False",
33+
"inheritedFrom": null,
34+
"extensions": [
35+
{
36+
"name": "ContainerRegistriesVulnerabilityAssessments",
37+
"isEnabled": "True"
38+
},
39+
{
40+
"name": "ContainerIntegrityContribution",
41+
"isEnabled": "True"
42+
}
43+
]
44+
}
45+
}
46+
},
47+
"201": {
48+
"body": {
49+
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry/providers/Microsoft.Security/pricings/Containers",
50+
"name": "Containers",
51+
"type": "Microsoft.Security/pricings",
52+
"properties": {
53+
"pricingTier": "Standard",
54+
"freeTrialRemainingTime": "P29DT23H55M",
55+
"enablementTime": "2025-01-14T16:35:12.4567890Z",
56+
"inherited": "False",
57+
"inheritedFrom": null,
58+
"extensions": [
59+
{
60+
"name": "ContainerRegistriesVulnerabilityAssessments",
61+
"isEnabled": "True"
62+
},
63+
{
64+
"name": "ContainerIntegrityContribution",
65+
"isEnabled": "True"
66+
}
67+
]
68+
}
69+
}
70+
}
71+
}
72+
}

specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104
"Update pricing on resource (example for Containers plan)": {
105105
"$ref": "./examples/Pricings/PutResourcePricingByNameContainers_example.json"
106106
},
107+
"Update pricing on resource (Container Registry ACR)": {
108+
"$ref": "./examples/Pricings/PutResourcePricingByNameContainersACR_example.json"
109+
},
107110
"Update pricing on subscription (example for CloudPosture plan) - partial success": {
108111
"$ref": "./examples/Pricings/PutPricingByNamePartialSuccess_example.json"
109112
}

0 commit comments

Comments
 (0)