[FEATURE] [SQL database] Add properties.backupRetentionDays setter for SQLDatabase items
@HasanAboShally đang làm issue này rồi.
Từ ngày 2/2/2026.
Đánh giá
Issue này chưa được đánh giá.
Mô tả
Use Case / Problem
Fabric CLI can read (get) SQL database properties, but cannot update backup retention via CLI. Teams managing multiple environments (dev/test/prod) need to standardize and automate retention settings (e.g., 7/14/21/35 days) without manual portal steps.
Proposed Solution
Add support for setting properties.backupRetentionDays on *.SQLDatabase items using the existing set command pattern (property path via -q, input via -i).
Sample command:
set <DBname>.SQLDatabase -q "properties.backupRetentionDays" -i 21
Expected behavior:
- Validate input is an integer and within the service-allowed range (fail with a clear error if not).
- Confirm the updated value in the command output (or return the updated resource payload).
Alternatives Considered
- Manually updating retention in the Fabric UI (not automatable and leads to configuration drift).
Impact Assessment
- This aligns with Microsoft Fabric roadmap items
Implementation Attestation
- I understand this feature should maintain backward compatibility with existing commands
- I confirm this feature request does not introduce performance regressions for existing workflows
- I acknowledge that new features must follow fabric-cli's established patterns and conventions
Implementation Notes
This should mirror existing property updates already supported by set for other item types.
- Ngôn ngữ chính
- Python
- Star
- 173
- Fork
- 63
- Merge trung bình
- 3 ngày 2 giờ
- Pull request đã merge (30 ngày)
- 4
Chuẩn bị môi trường
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của microsoft/fabric-cli
-
ai:bug-triage:unable-to-process bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
microsoft/fabric-cli#287 · 2 bình luận ·
-
ai:feature-triage:unable-to-process enhancement
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 64/100
microsoft/fabric-cli#292 · 1 bình luận ·
-
ai:question-triage:unable-to-process question
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
microsoft/fabric-cli#288 · 1 bình luận ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 52/100
microsoft/fabric-cli#286 · 3 bình luận ·
-
ai:feature-triage:unable-to-process enhancement
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 42/100
microsoft/fabric-cli#279 · 1 bình luận ·
Tất cả issue của microsoft/fabric-cli
Issue tương tự
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
letsencrypt/cp-cps#353 ·
-
Marble Madness II is missingĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
PedestrianDynamics/pyFDS-Evac#394 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
DOI-USGS/pywatershed#421 ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
python-pillow/Pillow#10087 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày