CmdID

CmdID / az / az offazure / az offazure hyperv / az offazure hyperv site

az offazure hyperv site create

Method to create or update a site. Azure CLI extensions reference

1 example 12 options Its page in the Azure CLI extensions reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from the Azure CLI, each command read by CmdID

Create Hyper-V site

az offazure hyperv site create --location "eastus" --service-principal-identity-details aad-authority="https://login.windows.net/72f988bf-86f1-41af-91ab-2d7cd011db47" application-id="e9f013df-2a2a-4871-b766-e79867f30348" audience="https://72f988bf-86f1-41af-91ab-2d7cd011db47/MaheshSite17ac9agentauthaadapp" object-id="2cd492bc-7ef3-4ee0-b301-59a88108b47b" tenant-id="72f988bf-86f1-41af-91ab-2d7cd011db47" --resource-group "pajindTest" --site-name "appliance1e39site" --subscription-id "4bd2aa0f-2bd2-4d67-91a8-5a4533d58600"Identify
--locationLocation.
--service-principal-identity-detailsService principal identity details used by agent for communication to the service.
--resource-groupName of resource group.
--site-nameSite name.
--subscription-idThe ID of the target subscription.

Options

12 in the Azure CLI extensions reference
--agent-details, --agentOn-premises agent details.
--appliance-nameAppliance Name.
--discovery-solution-id, --solution-idARM ID of migration hub solution for SDS.
--e-tageTag for concurrency control.
--location, -lLocation.
--nameName of the Hyper-V site.
--resource-group, -gName of resource group.
--service-principal-identity-details, --identityService principal identity details used by agent for communication to the service.
--site-nameSite name.
--subscription-idThe ID of the target subscription.
--tagsspace-separated tags: key[=value] [key[=value] ...].
-nName of the Hyper-V Site.