The Azure CLI extension for Azure Arc for VMware PrivateCloud is an extension for Azure CLI 2.0.
az extension add --name connectedvmware
See the extension reference documenation. Examples:
az connectedvmware vcenter connect \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--fqdn vcenterFqdn \
--username userName \
--password password \
--name resourceName
az connectedvmware resource-pool create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--mo-ref-id morefId \
--name resourceName
az connectedvmware cluster create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--mo-ref-id morefId \
--name resourceName
az connectedvmware host create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--mo-ref-id morefId \
--name resourceName
az connectedvmware datastore create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--mo-ref-id morefId \
--name resourceName
az connectedvmware vm-template create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--mo-ref-id morefId \
--name resourceName
az connectedvmware virtual-network create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--mo-ref-id morefId \
--name resourceName
az connectedvmware vm create \
--subscription subscriptionId \
--resource-group resourceGroupName \
--location locationName \
--custom-location customLocationName \
--vcenter vcenterResourceName \
--resource-pool resourcePoolResourceName \
--vm-template vmTemplateResourceName \
--name resourceName
You can see if the extension is installed by running az --version
or az extension list
. You can remove the extension by running:
az extension remove --name connectedvmware
If you have issues, please give feedback by opening an issue at https://github.com/Azure/azure-cli-extensions/issues.