diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/PutResourcePricingByNameContainersACR_example.json b/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/PutResourcePricingByNameContainersACR_example.json new file mode 100644 index 000000000000..518488d7e1f5 --- /dev/null +++ b/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/examples/Pricings/PutResourcePricingByNameContainersACR_example.json @@ -0,0 +1,72 @@ +{ + "parameters": { + "api-version": "2024-01-01", + "scopeId": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry", + "pricingName": "Containers", + "pricing": { + "properties": { + "pricingTier": "Standard", + "extensions": [ + { + "name": "ContainerRegistriesVulnerabilityAssessments", + "isEnabled": "True" + }, + { + "name": "ContainerIntegrityContribution", + "isEnabled": "True" + } + ] + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry/providers/Microsoft.Security/pricings/Containers", + "name": "Containers", + "type": "Microsoft.Security/pricings", + "properties": { + "pricingTier": "Standard", + "freeTrialRemainingTime": "P29DT23H55M", + "enablementTime": "2025-01-14T16:35:12.4567890Z", + "inherited": "False", + "inheritedFrom": null, + "extensions": [ + { + "name": "ContainerRegistriesVulnerabilityAssessments", + "isEnabled": "True" + }, + { + "name": "ContainerIntegrityContribution", + "isEnabled": "True" + } + ] + } + } + }, + "201": { + "body": { + "id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myResourceGroup/providers/Microsoft.ContainerRegistry/registries/myContainerRegistry/providers/Microsoft.Security/pricings/Containers", + "name": "Containers", + "type": "Microsoft.Security/pricings", + "properties": { + "pricingTier": "Standard", + "freeTrialRemainingTime": "P29DT23H55M", + "enablementTime": "2025-01-14T16:35:12.4567890Z", + "inherited": "False", + "inheritedFrom": null, + "extensions": [ + { + "name": "ContainerRegistriesVulnerabilityAssessments", + "isEnabled": "True" + }, + { + "name": "ContainerIntegrityContribution", + "isEnabled": "True" + } + ] + } + } + } + } +} diff --git a/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json b/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json index 77ad8784ef79..c76cb70cf8c0 100644 --- a/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json +++ b/specification/security/resource-manager/Microsoft.Security/stable/2024-01-01/pricings.json @@ -104,6 +104,9 @@ "Update pricing on resource (example for Containers plan)": { "$ref": "./examples/Pricings/PutResourcePricingByNameContainers_example.json" }, + "Update pricing on resource (Container Registry ACR)": { + "$ref": "./examples/Pricings/PutResourcePricingByNameContainersACR_example.json" + }, "Update pricing on subscription (example for CloudPosture plan) - partial success": { "$ref": "./examples/Pricings/PutPricingByNamePartialSuccess_example.json" }