Vous pouvez charger l'image Unified Access Gateway .vhd dans Azure.
Procédure
-
Obtenez un fichier image Unified Access Gateway
.vhdde la version spécifique d'Unified Access Gateway à partir d'Omnissa. -
Utilisez les exemples de commandes PowerShell suivants pour charger l'image
.vhddans le conteneurvhdscréé précédemment.$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 32PowerShell 7 :
Add-AzVhd -ResourceGroupName $resourceGroup -LocalFilePath $imagePath ` -Destination $imageURI -NumberOfUploaderThreads 32
Pour la zone de disponibilité
$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 $resourceGroupPowerShell 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
Cette page vous a-t-elle été utile ?