Skip to content

Commit be728ce

Browse files
authored
add examples (#8823)
1 parent 249b755 commit be728ce

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/amg/azext_amg/_help.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,9 @@
321321
helps['grafana folder create'] = """
322322
type: command
323323
short-summary: Create a new folder.
324+
examples:
325+
- name: Create a folder with title.
326+
text: az grafana folder create -g MyResourceGroup -n MyGrafana --title "My Folder"
324327
"""
325328

326329
helps['grafana folder show'] = """
@@ -371,6 +374,9 @@
371374
helps['grafana api-key create'] = """
372375
type: command
373376
short-summary: Create a new API key.
377+
examples:
378+
- name: Create a new API key.
379+
text: az grafana api-key create -g myResourceGroup -n myGrafana --key myKey
374380
"""
375381

376382
helps['grafana api-key list'] = """
@@ -458,6 +464,9 @@
458464
helps['grafana integrations monitor add'] = """
459465
type: command
460466
short-summary: Link an Azure Monitor workspace to a Grafana instance.
467+
examples:
468+
- name: Link an Azure Monitor workspace to a Grafana instance.
469+
text: az grafana integrations monitor add -g MyResourceGroup -n MyGrafana --monitor-rg-name MyMonitorResourceGroup --monitor-name MyMonitor
461470
"""
462471

463472
helps['grafana integrations monitor list'] = """

0 commit comments

Comments
 (0)