Commit 3b17050
⭐ Convert Azure Defender dict fields to typed resources
Replace all 10 untyped dict-returning defenderFor* fields with fully
typed MQL resources, matching the existing defenderForApis and
defenderCSPM pattern. Each resource exposes .enabled, .pricingTier,
and common pricing metadata (subPlan, enforce, deprecated,
freeTrialRemainingTime, enablementTime, inherited, inheritedFrom,
replacedBy, resourcesCoverageStatus).
Add typed extension sub-resources for both defenderCSPM and
defenderForContainers with name, isEnabled, additionalProperties,
operationStatusCode, and operationStatusMessage fields.
Add isEnabled and phone fields to securityContact.
Add unit tests for commonPricingArgs and argsFromContactProperties
helper functions.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent 4f8cccc commit 3b17050
File tree
5 files changed
+10511
-7390
lines changed- providers/azure/resources
5 files changed
+10511
-7390
lines changed
0 commit comments