az offazure hyperv machine
Note
This reference is part of the offazure extension for the Azure CLI (version 2.15.0 or higher). The extension will automatically install the first time you run an az offazure hyperv machine command. Learn more about extensions.
Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Manage Hyper-V machine.
Commands
Name | Description | Type | Status |
---|---|---|---|
az offazure hyperv machine list |
List all machines on the on-premise site. |
Extension | Experimental |
az offazure hyperv machine show |
Get the details of a machine. |
Extension | Experimental |
az offazure hyperv machine list
Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
List all machines on the on-premise site.
az offazure hyperv machine list --resource-group
--site-name
Examples
List machines by site
az offazure hyperv machine list --resource-group MyResourceGroup --site-name MySiteName
Required Parameters
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Hyper-V Site.
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 offazure hyperv machine show
Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the details of a machine.
az offazure hyperv machine show [--ids]
[--machine-name]
[--resource-group]
[--site-name]
[--subscription]
Examples
Get a machine.
az offazure hyperv machine show --machine-name MyMachineName --resource-group MyResourceGroup --site-name MySiteName
Optional Parameters
One or more resource IDs (space-delimited). It should be a complete resource ID containing all information of 'Resource Id' arguments. You should provide either --ids or other 'Resource Id' arguments.
Name of the machine.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name of the Hyper-V Site.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
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.