Skip to content

Commit bfef7fc

Browse files
authored
[Compute] az vm/vmss create: Add warning log for changing the default value of VM size (#31409)
1 parent b555743 commit bfef7fc

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# --------------------------------------------------------------------------------------------
2+
# Copyright (c) Microsoft Corporation. All rights reserved.
3+
# Licensed under the MIT License. See License.txt in the project root for license information.
4+
# --------------------------------------------------------------------------------------------
5+
from azure.cli.core.breaking_change import register_default_value_breaking_change
6+
7+
register_default_value_breaking_change(command_name='vm create',
8+
arg='--size',
9+
current_default='Standard_DS1_v2',
10+
new_default='Standard_D2s_v5',
11+
target_version=None)
12+
13+
register_default_value_breaking_change(command_name='vmss create',
14+
arg='--vm-sku',
15+
current_default='Standard_DS1_v2',
16+
new_default='Standard_D2s_v5',
17+
target_version=None)

0 commit comments

Comments
 (0)