Skip to content

Commit aecef3c

Browse files
committed
update helper in aaz registration
1 parent db560dd commit aecef3c

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

src/redisenterprise/azext_redisenterprise/_help.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,3 @@
3333
type: command
3434
short-summary: Get information about a RedisEnterprise cluster
3535
"""
36-
37-
helps['redisenterprise update'] = """
38-
type: command
39-
short-summary: Update an existing RedisEnterprise cluster
40-
examples:
41-
- name: Update cluster SKU
42-
text: |-
43-
az redisenterprise update --cluster-name "cache1" --sku "ComputeOptimized_X5" --resource-group "rg1"
44-
"""

src/redisenterprise/azext_redisenterprise/aaz/latest/redisenterprise/_update.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@
1616
)
1717
class Update(AAZCommand):
1818
"""Update an existing (overwrite/recreate, with potential downtime) cache cluster
19+
20+
:example: Updates cluster SKU
21+
az redisenterprise update --cluster-name "cache1" --sku "ComputeOptimized_X5" --resource-group "rg1"
1922
"""
2023

2124
_aaz_info = {

0 commit comments

Comments
 (0)