File tree Expand file tree Collapse file tree
src/connectedmachine/azext_connectedmachine/aaz/latest/connectedmachine/extension Expand file tree Collapse file tree Original file line number Diff line number Diff 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 = {
Original file line number Diff line number Diff line change 1515 "connectedmachine extension image show" ,
1616)
1717class 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
You can’t perform that action at this time.
0 commit comments