Skip to main content

2026 年 3 月 14 日

为 Microsoft Azure 部署准备 INI 文件

INI 文件的大部分内容与 vSphere、Hyper-V 和 Azure 部署支持的 Unified Access Gateway 标准 INI 设置相同。

对于 Microsoft Azure 部署,不使用“General”节中的以下设置。

  • diskMode
  • ds
  • folder
  • netInternet
  • netManagementNetwork
  • netmask0
  • netmask1
  • netmask2
  • netBackendNetwork
  • source
  • target
  • 所有 IPv4 设置
  • 所有 IPv6 设置

对于 Microsoft Azure,有一个名为 Azure 的新组,其中包含特定于 Microsoft Azure 部署的所有设置。

Azure 部署特定的设置

组名称示例描述
AzurediskStorageContainerdiskStorageContainer=uagdisksUnified Access Gateway 磁盘映像存储的 Blob 容器名称。如果此容器不存在,则会自动创建该容器。
imageURIimageURI=https://.blob.core.windows.net/vhds/euc-unified-access-gateway-3.4.0.0-11037344_OVF10.vhd要部署的 Unified Access Gateway .vhd 映像文件的 URI。
locationlocation=uksouthUnified Access Gateway 部署的 Azure 位置。
networkSecurityGroupName0networkSecurityGroupName0=UAGInternetSGeth0 网卡的可选 Azure 网络安全组名称。
networkSecurityGroupName1networkSecurityGroupName1=UAGManagementSGeth1 网卡的可选 Azure 网络安全组名称。
networkSecurityGroupName2networkSecurityGroupName2=UAGBackendSGeth2 网卡的可选 Azure 网络安全组名称。
publicIPAddressName0publicIPAddressName0=UAG1PublicIP0eth0 网卡的可选 Azure 公共 IP 地址对象名称。
publicIPAddressName1publicIPAddressName1=UAG1PublicIP1eth1 网卡的可选 Azure 公共 IP 地址对象名称。
publicIPAddressName2publicIPAddressName2=UAG1PublicIP2eth2 网卡的可选 Azure 公共 IP 地址对象名称。
resourceGroupNameresourceGroupName=uagrgUnified Access Gateway 部署的资源组名称。
subnetName0subnetName0=subneta指定虚拟网络中 eth0 网卡子网的可选子网名称。如果未设置,它将使用虚拟网络的默认子网。
subnetName1subnetName1=subnetb指定虚拟网络中 eth1 网卡子网的可选子网名称。如果未设置,它将使用虚拟网络的默认子网。
subnetName2subnetName2=subnetc指定虚拟网络中 eth2 网卡子网的可选子网名称。如果未设置,它将使用虚拟网络的默认子网。
storageAccountNamestorageAccountName=uagstorevhds 容器位置以及磁盘映像的 Azure 存储帐户名称。
subscriptionIDsubscriptionID=12345678-1234-1234-1234-123456788901Azure 帐户订阅 ID。
virtualNetworkNamevirtualNetworkName=VirtualNetworkAzure 虚拟网络名称。
vmSizevmSize=Standard_A2_v2Azure 虚拟机映像大小。
zonezone=2(适用于 Azure 区域部署)Azure 可用区编号。
managedImageNamemanagedImageName=zonesupportimage(适用于 Azure 区域部署)Azure 受管映像名称。

INI 文件示例

[General]
#name indicates the name of the Azure virtual machine
name=UAG11

#uagName indicates the UAG OS hostname and must be the same as the Azure virtual machine name
uagName=UAG11

deploymentOption=twonic

[Azure]
subscriptionID=12345678-1234-1234-1234-123456788901
resourceGroupName=uagrg
location=uk south
storageAccountName=uagstore
imageURI=https://<storage_account_name>.blob.core.windows.net/vhds/euc-unified-access-gateway-3.4.0.0-11037344_OVF10.vhd
diskStorageContainer=uagdisks
vmSize=Standard_A2_v2
virtualNetworkName=VirtualNetwork

# eth0 settings
subnetName0=subneta
publicIPAddressName0=UAGPublicIP0
networkSecurityGroupName0=UAGInternetSG

# eth1 settings
subnetName1=subnetb


此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…