Skip to content

Commit b804114

Browse files
committed
[docs] - Added help description to new command and argument.
1 parent d0bebce commit b804114

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2599,6 +2599,12 @@
25992599
crafted: true
26002600
"""
26012601

2602+
helps['vmss list-instances'] = """
2603+
parameters:
2604+
- name: --resiliency-view
2605+
short-summary: Show resiliency status of each instance.
2606+
"""
2607+
26022608
helps['vmss reimage'] = """
26032609
type: command
26042610
short-summary: Reimage VMs within a VMSS.

src/azure-cli/azure/cli/command_modules/vm/operations/vmss_vms.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,10 @@ def _output(self, *args, **kwargs):
7171
"vmss get-resiliency-view",
7272
)
7373
class VMSSGetResiliencyView(_VMSSVMSShow):
74-
"""View the resiliency status of an VMSS
74+
"""View the resiliency status of a VMSS instance
75+
76+
:example: View the resiliency status of a VMSS instance.
77+
az vmss get-resiliency-view --name MyScaleSet --resource-group MyResourceGroup --instance MyInstanceId
7578
"""
7679
@classmethod
7780
def _build_arguments_schema(cls, *args, **kwargs):

0 commit comments

Comments
 (0)