Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[FEATURE] [SQL database] Add properties.backupRetentionDays setter for SQLDatabase items

Abierto
#147 3 comentarios 0 reacciones 1 asignado Ver en GitHub

@HasanAboShally ya está trabajando en esto.

Desde el 2/2/2026.

  • #249 de @v-alexmoraru — cerrado sin fusionar

Evaluación

Este issue todavía no se ha evaluado.

Descripción

blocked enhancement
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.

Lenguaje dominante
Python
Estrellas
172
Forks
64
Merge medio
2 d 4 h
PR fusionados (30 d)
2

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de microsoft/fabric-cli

Todos los issues de microsoft/fabric-cli

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.