az offazure hyperv site
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 site 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 site.
Commands
Name | Description | Type | Status |
---|---|---|---|
az offazure hyperv site create |
Create a Hyper-V site. |
Extension | Experimental |
az offazure hyperv site delete |
Delete a Hyper-V site. |
Extension | Experimental |
az offazure hyperv site show |
Get the details of a site. |
Extension | Experimental |
az offazure hyperv site create
Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Create a Hyper-V site.
az offazure hyperv site create --name
--resource-group
[--agent]
[--appliance-name]
[--identity]
[--location]
[--solution-id]
[--tags]
Examples
Create a Hyper-V site
az offazure hyperv site create --resource-group MyResourceGroup --site-name MySiteName --location centralus
Required Parameters
Name of the Hyper-V Site.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Optional Parameters
On-premises agent details.
Usage: --agent key-vault-uri=XX key-vault-id=XX
key-vault-uri: Key vault URI. key-vault-id: Key vault ARM Id.
Name of the appliance.
Service principal identity details used by agent for communication to the service.
Usage: --identity tenant-id=XX application-id=XX object-id=XX audience=XX aad-authority=XX raw-cert-data=XX
tenant-id: Tenant Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services. application-id: Application/client Id for the service principal with which the on-premise management/data plane components would communicate with our Azure services. object-id: Object Id of the service principal with which the on-premise management/data plane components would communicate with our Azure services. audience: Intended audience for the service principal. aad-authority: AAD Authority URL which was used to request the token for the service principal. raw-cert-data: Raw certificate data for building certificate expiry flows.
Location. Values from: az account list-locations
. You can configure the default location using az configure --defaults location=<location>
.
ARM ID of migration hub solution for SDS.
Space-separated tags: key[=value] [key[=value] ...]. Use "" to clear existing tags.
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 site delete
Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Delete a Hyper-V site.
az offazure hyperv site delete [--ids]
[--name]
[--resource-group]
[--subscription]
[--yes]
Examples
Delete a Hyper-V site.
az offazure hyperv site delete --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 Hyper-V Site.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID
.
Do not prompt for confirmation.
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 site show
Command group 'offazure' is experimental and under development. Reference and support levels: https://aka.ms/CLI_refstatus
Get the details of a site.
az offazure hyperv site show [--ids]
[--name]
[--resource-group]
[--subscription]
Examples
Get a Hyper-V site
az offazure hyperv site show --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 Hyper-V Site.
Name of resource group. You can configure the default group using az configure --defaults group=<name>
.
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.