Skip to content

Commit 7015331

Browse files
authored
[Compute] az capacity: Fix short summaries for groups (#26707)
1 parent 99ecfe0 commit 7015331

5 files changed

Lines changed: 4 additions & 19 deletions

File tree

src/azure-cli/azure/cli/command_modules/vm/_help.py

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3719,11 +3719,6 @@
37193719
short-summary: Manage capacity.
37203720
"""
37213721

3722-
helps['capacity reservation group'] = """
3723-
type: group
3724-
short-summary: Manage capacity reservation group.
3725-
"""
3726-
37273722
helps['capacity reservation group create'] = """
37283723
type: command
37293724
short-summary: Create capacity reservation group.
@@ -3764,16 +3759,6 @@
37643759
text: az capacity reservation group list -g MyResourceGroup --vm-instance --vmss-instance
37653760
"""
37663761

3767-
helps['capacity'] = """
3768-
type: group
3769-
short-summary: Manage capacity.
3770-
"""
3771-
3772-
helps['capacity reservation'] = """
3773-
type: group
3774-
short-summary: Manage capacity reservation.
3775-
"""
3776-
37773762
helps['capacity reservation create'] = """
37783763
type: command
37793764
short-summary: Create capacity reservation.

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/capacity/__cmd_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"capacity",
1616
)
1717
class __CMDGroup(AAZCommandGroup):
18-
"""Manage capacity resources.
18+
"""Manage capacity.
1919
"""
2020
pass
2121

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/capacity/reservation/__cmd_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"capacity reservation",
1616
)
1717
class __CMDGroup(AAZCommandGroup):
18-
"""Manage capacity reservation resources.
18+
"""Manage capacity reservation.
1919
"""
2020
pass
2121

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/capacity/reservation/_delete.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ def _build_arguments_schema(cls, *args, **kwargs):
5353
id_part="name",
5454
)
5555
_args_schema.capacity_reservation_name = AAZStrArg(
56-
options=["-n", "--capacity-reservation-name"],
56+
options=["-n", "--name", "--capacity-reservation-name"],
5757
help="The name of the capacity reservation.",
5858
required=True,
5959
id_part="child_name_1",

src/azure-cli/azure/cli/command_modules/vm/aaz/latest/capacity/reservation/group/__cmd_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"capacity reservation group",
1616
)
1717
class __CMDGroup(AAZCommandGroup):
18-
"""test
18+
"""Manage capacity reservation group.
1919
"""
2020
pass
2121

0 commit comments

Comments
 (0)