az connectedvmware vm guest-agent
Note
This reference is part of the connectedvmware extension for the Azure CLI (version 2.0.67 or higher). The extension will automatically install the first time you run an az connectedvmware vm guest-agent command. Learn more about extensions.
Vm guest agent.
Commands
Name | Description | Type | Status |
---|---|---|---|
az connectedvmware vm guest-agent enable |
Enable guest agent on the vm. |
Extension | GA |
az connectedvmware vm guest-agent show |
Get details of a guest agent by guest agent name, resource-group and vm name. |
Extension | GA |
az connectedvmware vm guest-agent enable
Enable guest agent on the vm.
az connectedvmware vm guest-agent enable --resource-group
--vm-name
[--https-proxy]
[--no-wait]
[--password]
[--private-link-scope]
[--username]
Examples
Enable guest agent on the vm
az connectedvmware vm guest-agent enable --username "vm user name" --password "vm password" --resource-group "resource group name" --subscription "Name or ID of subscription" --vm-name "vm name"
Enable guest agent on the vm using private link
az connectedvmware vm guest-agent enable --username "vm user name" --password "vm password" --resource-group "resource group name" --subscription "Name or ID of subscription" --vm-name "vm name" --private-link-scope "/subscriptions/fedcba98-7654-3210-0123-456789abcdef/resourceGroups/contoso-rg/providers/Microsoft.HybirdCompute/privateLinkScopes/contoso-private-link-scope"
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the VM.
Optional Parameters
HTTPS proxy server url for the VM.
Do not wait for the long-running operation to finish.
Username password credentials to use for connecting to the VM.
The resource id of the private link scope this machine is assigned to.
Username to use for connecting to the vm.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.
az connectedvmware vm guest-agent show
Get details of a guest agent by guest agent name, resource-group and vm name.
az connectedvmware vm guest-agent show --resource-group
--vm-name
Examples
Get details of a guest agent
az connectedvmware vm guest-agent show --resource-group "resource group name" --vm-name "name of the vm"
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the VM.
Global Parameters
Increase logging verbosity to show all debug logs.
Show this help message and exit.
Only show errors, suppressing warnings.
Output format.
JMESPath query string. See http://jmespath.org/ for more information and examples.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Increase logging verbosity. Use --debug for full debug logs.