Você pode carregar a imagem do Unified Access Gateway .vhd no Azure.
Procedimento
- Obtenha um arquivo de imagem do Unified Access Gateway .vhd da versão do Unified Access Gateway específica da VMware.
- Use os comandos do PowerShell de exemplo a seguir para carregar a imagem .vhd para o contêiner vhds criado anteriormente.
$imageURI = "https://<storage_account_name>.blob.core.windows.net/vhds/euc-unified-access-gateway-3.4.0.0-11037344_OVF10.vhd"
$imagePath = "E:\UAGImages\euc-unified-access-gateway-3.4.0.0-11037344_OVF10.vhd"
$location="<Azure regions names with availability zone support>"
PowerShell 5:Set-Item -Path Env:\SuppressAzureRmModulesRetiringWarning -Value $true Add-AzureRmVhd -ResourceGroupName $resourceGroup -LocalFilePath $imagePath ` -Destination $imageURI -NumberOfUploaderThreads 32
PowerShell 7:Add-AzVhd -ResourceGroupName $resourceGroup -LocalFilePath $imagePath ` -Destination $imageURI -NumberOfUploaderThreads 32
Para Zona de Disponibilidade
$location="uk south" $resourceGroup="uagrg"
PowerShell 5:
$imageConfig = New-AzureRmImageConfig -Location $location Set-AzureRmImageOsDisk -Image $imageConfig -OsType Linux -OsState Generalized -BlobUri $imageURI New-AzureRmImage -Image $imageConfig -ImageName $imageName -ResourceGroupName $resourceGroup
PowerShell 7:
$imageConfig = New-AzImageConfig -Location $location $imageConfig = Set-AzImageOsDisk -Image $imageConfig -OsType Linux -OsState Generalized -BlobUri $imageURI $image = New-AzImage -ImageName $imageName -ResourceGroupName $resourceGroup -Image $imageConfig