You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Powershell STR cmdlet updates for PITR Immutability - #30215
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️Az.PrivateDns
️✔️Build
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
❌Az.Sql
️✔️Build
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️Breaking Change Check
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️Signature Check
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️Help Example Check
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️Help File Existence Check
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️File Change Check
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
️✔️UX Metadata Check
️✔️PowerShell Core - Windows️✔️Windows PowerShell - Windows
❌Generated Sdk Check
❌PowerShell Core - Windows
Type
Module
Sdk
Description
Remediation
❌
Az.Sql
src/Sql/Sql.Management.Sdk
Generated code for Az.Sql is not up to date or you have updated generated Sdk.
You may need to rebase on the latest main, regenerate code accroding to README.md file under src/Sql/Sql.Management.Sdk, and make sure no more updates based on generated files.
❌Windows PowerShell - Windows
Type
Module
Sdk
Description
Remediation
❌
Az.Sql
src/Sql/Sql.Management.Sdk
Generated code for Az.Sql is not up to date or you have updated generated Sdk.
You may need to rebase on the latest main, regenerate code accroding to README.md file under src/Sql/Sql.Management.Sdk, and make sure no more updates based on generated files.
Added short-term backup immutability support to Set-AzSqlDatabaseBackupShortTermRetentionPolicy and Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy.
Added the LockImmutability parameter and ImmutabilityStatus output property.
Restricted LockImmutability to live Managed Instance databases.
Added an irreversible-action confirmation prompt when locking immutability, which can be bypassed with -Force.
Added an override for DiffBackupIntervalInHours datatype as an AutoRest directive to force int32 instead of double, related to Azure/typespec-azure#919
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️Target release is a different concept from API readiness. Please click below links for details.)
Returning the adapter result changes the output for dropped databases: UpsertDeletedManagedDatabaseRetentionPolicy passes the combined databaseName,timestamp identifier to the model converter and omits deletionDate (AzureSqlManagedDatabaseBackupAdapter.cs:147-149). The returned DatabaseName therefore gains the timestamp suffix and DeletionDate becomes null. Previously, returning entity preserved both fields. Restore the original identity fields while retaining the service's updated policy values.
🧠 Review effort: Balanced
Give feedback about Copilot approvals in this survey to enter a drawing for a $150 gift card.
Azure Pipelines will not run the associated pipelines, because the pull request was updated after the run command was issued. Review the pull request again and issue a new run command.
Azure Pipelines:
Successfully started running 3 pipeline(s).
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 PR Validation — ❌ Action needed
️✔️Az.Accounts
️✔️Az.Compute
️✔️Az.EventHub
️✔️Az.KeyVault
️✔️Az.ManagedServiceIdentity
️✔️Az.Monitor
️✔️Az.Network
️✔️Az.OperationalInsights
️✔️Az.PrivateDns
❌Az.Sql
️✔️Az.Storage
️✔️Az.TrafficManager
Description
Added short-term backup immutability support to Set-AzSqlDatabaseBackupShortTermRetentionPolicy and Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy.
Added the LockImmutability parameter and ImmutabilityStatus output property.
Restricted LockImmutability to live Managed Instance databases.
Added an irreversible-action confirmation prompt when locking immutability, which can be bypassed with -Force.
Added an override for DiffBackupIntervalInHours datatype as an AutoRest directive to force int32 instead of double, related to Azure/typespec-azure#919
Mandatory Checklist
Please choose the target release of Azure PowerShell. (⚠️ Target release is a different concept from API readiness. Please click below links for details.)
Check this box to confirm: I have read the Submitting Changes section of
CONTRIBUTING.mdand reviewed the following information:ChangeLog.mdfile(s) appropriatelysrc/{{SERVICE}}/{{SERVICE}}/ChangeLog.md.## Upcoming Releaseheader in the past tense.ChangeLog.mdif no new release is required, such as fixing test case only.