feat(resource): define Azure storage resource type (azure-storage-account) #2428

Open
opened 2026-04-03 18:01:49 +00:00 by freemo · 0 comments
Owner

Metadata

  • Branch: feat/v360/azure-storage-types
  • Commit Message: feat(resource): define azure-storage-account resource type
  • Milestone: v3.6.0
  • Parent Epic: #1019

Background

Part of the Azure cloud resource hierarchy expansion (Epic #1019). This issue implements the Azure storage resource type following the generic cloud-* base layer pattern established by PR #669.

Azure Storage Accounts are the top-level storage container in Azure, analogous to AWS S3 buckets at the account level. They are auto-discovered within a resource group.

Expected Behavior

  • azure-storage-account inherits from cloud-object-store, is auto-discovered as a child of azure-resource-group
  • The type is non-user-addable
  • The type passes ResourceTypeSpec.from_config() validation
  • Inheritance chain depth ≤ 5 levels (ADR-042)

Acceptance Criteria

  • azure-storage-account defined with inherits: cloud-object-store, parent azure-resource-group, user_addable: false
  • Type registered in the resource type registry
  • Type passes ResourceTypeSpec.from_config() validation
  • Inheritance chain ≤ 5 levels deep
  • All nox stages pass
  • Coverage ≥ 97%

Dependencies

  • Blocked by: #2425 (azure-subscription and azure-resource-group must exist first)
  • Blocks: #1019

Subtasks

  • Define azure-storage-account resource type config with inherits: cloud-object-store, parent azure-resource-group
  • Register the type in the resource type registry
  • Validate the type passes ResourceTypeSpec.from_config() validation
  • Run nox (all default sessions), fix any errors
  • Verify coverage ≥ 97% via nox -s coverage_report

Definition of Done

  • All subtasks completed and checked off
  • azure-storage-account resource type is defined, registered, and validated
  • A Git commit is created where the first line of the commit message matches the Commit Message in Metadata exactly
  • The commit is pushed to the remote on the branch matching the Branch in Metadata exactly
  • The commit is submitted as a pull request to master, reviewed, and merged before this issue is marked done
  • All nox stages pass
  • Coverage ≥ 97%

Automated by CleverAgents Bot
Supervisor: Unknown | Agent: ca-epic-planner

## Metadata - **Branch**: `feat/v360/azure-storage-types` - **Commit Message**: `feat(resource): define azure-storage-account resource type` - **Milestone**: v3.6.0 - **Parent Epic**: #1019 ## Background Part of the Azure cloud resource hierarchy expansion (Epic #1019). This issue implements the Azure storage resource type following the generic `cloud-*` base layer pattern established by PR #669. Azure Storage Accounts are the top-level storage container in Azure, analogous to AWS S3 buckets at the account level. They are auto-discovered within a resource group. ## Expected Behavior - `azure-storage-account` inherits from `cloud-object-store`, is auto-discovered as a child of `azure-resource-group` - The type is non-user-addable - The type passes `ResourceTypeSpec.from_config()` validation - Inheritance chain depth ≤ 5 levels (ADR-042) ## Acceptance Criteria - [ ] `azure-storage-account` defined with `inherits: cloud-object-store`, parent `azure-resource-group`, `user_addable: false` - [ ] Type registered in the resource type registry - [ ] Type passes `ResourceTypeSpec.from_config()` validation - [ ] Inheritance chain ≤ 5 levels deep - [ ] All nox stages pass - [ ] Coverage ≥ 97% ## Dependencies - Blocked by: #2425 (azure-subscription and azure-resource-group must exist first) - Blocks: #1019 ## Subtasks - [ ] Define `azure-storage-account` resource type config with `inherits: cloud-object-store`, parent `azure-resource-group` - [ ] Register the type in the resource type registry - [ ] Validate the type passes `ResourceTypeSpec.from_config()` validation - [ ] Run `nox` (all default sessions), fix any errors - [ ] Verify coverage ≥ 97% via `nox -s coverage_report` ## Definition of Done - [ ] All subtasks completed and checked off - [ ] `azure-storage-account` resource type is defined, registered, and validated - [ ] A Git commit is created where the **first line** of the commit message matches the Commit Message in Metadata exactly - [ ] The commit is pushed to the remote on the branch matching the **Branch** in Metadata exactly - [ ] The commit is submitted as a **pull request** to `master`, reviewed, and **merged** before this issue is marked done - [ ] All nox stages pass - [ ] Coverage ≥ 97% --- **Automated by CleverAgents Bot** Supervisor: Unknown | Agent: ca-epic-planner
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
cleveragents/cleveragents-core#2428
No description provided.