Skip to content

Commit b67be47

Browse files
[Backup] az backup protection enable-for-vm: Update in warning message while protecting Trusted Launch virtual machines (#31062)
1 parent d432d83 commit b67be47

File tree

1 file changed

+2
-5
lines changed
  • src/azure-cli/azure/cli/command_modules/backup

1 file changed

+2
-5
lines changed

src/azure-cli/azure/cli/command_modules/backup/custom.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -868,11 +868,8 @@ def enable_protection_for_vm(cmd, client, resource_group_name, vault_name, vm, p
868868
vault = vaults_cf(cmd.cli_ctx).get(resource_group_name, vault_name)
869869
policy = show_policy(protection_policies_cf(cmd.cli_ctx), resource_group_name, vault_name, policy_name)
870870

871-
logger.warning('Ignite (November) 2023 onwards Virtual Machine deployments using PS and CLI will default to '
872-
'security type Trusted Launch. Please ensure Policy Name used with "az backup '
873-
'protection enable-for-vm" command is of type Enhanced Policy for Trusted Launch VMs. Non-Trusted '
874-
'Launch Virtual Machines will not be impacted by this change. To know more about default change '
875-
'and Trusted Launch, please visit https://aka.ms/TLaD.')
871+
logger.warning('Starting in May 2025, Trusted Launch virtual machines can be protected with both'
872+
' standard and enhanced policies via PS and CLI')
876873

877874
# throw error if policy has more than 1000 protected VMs.
878875
if policy.properties.protected_items_count >= 1000:

0 commit comments

Comments
 (0)