Skip to content

Commit 57486cb

Browse files
committed
2 parents f33b3a1 + cb41ece commit 57486cb

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

  • src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension

src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/_create.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Create(AAZCommand):
1818
"""Create operation to create or update the extension.
1919
2020
:example: sample command for extension create
21-
az connectedmachine extension create --resource-group myResourceGroup --machine-name myMachine --extension-name CustomScriptExtension --location eastus2euap --publisher Microsoft.Compute --type-handler-version 1.10 --type CustomScriptExtension --settings "{commandToExecute:\\'powershell.exe -c "Get-Process | Where-Object { $_.CPU -gt 10000 }"\\'}"
21+
az connectedmachine extension create --resource-group myResourceGroup --machine-name myMachine --extension-name CustomScriptExtension --location eastus2euap --publisher Microsoft.Compute --type-handler-version 1.10 --type CustomScriptExtension --settings "{commandToExecute:'powershell.exe -c \"Get-Process | Where-Object { $_.CPU -gt 10000 }\"'}"
2222
"""
2323

2424
_aaz_info = {

src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension/image/_show.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"connectedmachine extension image show",
1616
)
1717
class Show(AAZCommand):
18-
"""get an Extension Metadata based on location, publisher, extensionType and version
18+
"""Get an Extension Metadata based on location, publisher, extensionType and version
1919
2020
:example: GET an extension metadata
2121
az connectedmachine extension image show --location EastUS --publisher microsoft.azure.monitor --extension-type azuremonitorlinuxagent --version 1.33.0

0 commit comments

Comments
 (0)