管理公用 IP 位址Manage public IP addresses

了解公用 IP 位址,以及如何建立、變更和刪除公用 IP 位址。Learn about a public IP address and how to create, change, and delete one. 公用 IP 位址是可加以設定的資源。A public IP address is a resource with its own configurable settings. 將公用 IP 位址指派給支援公用 IP 位址的 Azure 資源,可以:Assigning a public IP address to an Azure resource that supports public IP addresses enables:

  • 啟用從網路網路到資源的輸入通訊;資源包括 Azure 虛擬機器 (VM)、Azure 應用程式閘道、Azure Load Balancer、Azure VPN 閘道等等。Inbound communication from the Internet to the resource, such as Azure Virtual Machines (VM), Azure Application Gateways, Azure Load Balancers, Azure VPN Gateways, and others. 即使未將公用 IP 位址指派給該虛擬機器,只要虛擬機器是負載平衡器後端集區的一部分,且已將公用 IP 位址指派給負載平衡器,就可以讓您與來自網際網路的虛擬機器等資源進行通訊。You can still communicate with some resources, such as VMs, from the Internet, if a VM doesn't have a public IP address assigned to it, as long as the VM is part of a load balancer back-end pool, and the load balancer is assigned a public IP address. 若要判斷資源是否可以將公用 IP 位址指派給特定的 Azure 服務,或者是否可以透過不同 Azure 資源的公用 IP 位址與其進行通訊,請參閱服務的說明文件。To determine whether a resource for a specific Azure service can be assigned a public IP address, or whether it can be communicated with through the public IP address of a different Azure resource, see the documentation for the service.
  • 使用可預測 IP 位址對網際網路進行輸出連線。Outbound connectivity to the Internet using a predictable IP address. 例如,虛擬機器不需有指派的公用 IP 位址,即可對網際網路進行輸出通訊,但其位址是由 Azure 轉譯而成的網路位址 (依預設是無法預測的公用位址)。For example, a virtual machine can communicate outbound to the Internet without a public IP address assigned to it, but its address is network address translated by Azure to an unpredictable public address, by default. 指派公用 IP 位址給資源,可讓您知道輸出連線所使用的 IP 位址。Assigning a public IP address to a resource enables you to know which IP address is used for the outbound connection. 雖然可預測,但位址可能根據選擇的指派方法而有所變更。Though predictable, the address can change, depending on the assignment method chosen. 如需詳細資訊,請參閱<建立公用 IP 位址>。For more information, see Create a public IP address. 若要深入了解 Azure 資源的輸出連線,請參閱了解輸出連線To learn more about outbound connections from Azure resources, see Understand outbound connections.

開始之前Before you begin

注意

本文已更新為使用 Azure Az PowerShell 模組。This article has been updated to use the Azure Az PowerShell module. Az PowerShell 模組是用來與 Azure 互動的建議 PowerShell 模組。The Az PowerShell module is the recommended PowerShell module for interacting with Azure. 若要開始使用 Az PowerShell 模組,請參閱安裝 Azure PowerShellTo get started with the Az PowerShell module, see Install Azure PowerShell. 若要瞭解如何遷移至 Az PowerShell 模組,請參閱將 Azure PowerShell 從 AzureRM 遷移至 Az。To learn how to migrate to the Az PowerShell module, see Migrate Azure PowerShell from AzureRM to Az.

在完成本文任一節的步驟之前,請先完成下列工作︰Complete the following tasks before completing steps in any section of this article:

  • 如果您還沒有 Azure 帳戶,請註冊免費試用帳戶If you don't already have an Azure account, sign up for a free trial account.
  • 如果使用入口網站,請開啟 https://portal.azure.com,並使用您的 Azure 帳戶來登入。If using the portal, open https://portal.azure.com, and log in with your Azure account.
  • 如果使用 PowerShell 命令來完成這篇文章中的工作,請在 Azure Cloud Shell (英文) 中執行命令,或從您的電腦執行 PowerShell。If using PowerShell commands to complete tasks in this article, either run the commands in the Azure Cloud Shell, or by running PowerShell from your computer. Azure Cloud Shell 是免費的互動式 Shell,可讓您用來執行本文中的步驟。The Azure Cloud Shell is a free interactive shell that you can use to run the steps in this article. 它具有預先安裝和設定的共用 Azure 工具,可與您的帳戶搭配使用。It has common Azure tools preinstalled and configured to use with your account. 本教學課程需要 Azure PowerShell 模組 1.0.0 版或更新版本。This tutorial requires the Azure PowerShell module version 1.0.0 or later. 執行 Get-Module -ListAvailable Az 來了解安裝的版本。Run Get-Module -ListAvailable Az to find the installed version. 如果您需要升級,請參閱安裝 Azure PowerShell 模組If you need to upgrade, see Install Azure PowerShell module. 如果您在本機執行 PowerShell,則也需要執行 Connect-AzAccount 以建立與 Azure 的連線。If you are running PowerShell locally, you also need to run Connect-AzAccount to create a connection with Azure.
  • 如果使用命令列介面 (CLI) 命令來完成這篇文章中的工作,請在 Azure Cloud Shell (英文) 中執行命令,或從您的電腦執行 CLI。If using Azure Command-line interface (CLI) commands to complete tasks in this article, either run the commands in the Azure Cloud Shell, or by running the CLI from your computer. 本教學課程需要 Azure CLI 2.0.31 版或更新版本。This tutorial requires the Azure CLI version 2.0.31 or later. 執行 az --version 來了解安裝的版本。Run az --version to find the installed version. 如果您需要安裝或升級,請參閱安裝 Azure CLIIf you need to install or upgrade, see Install Azure CLI. 如果您在本機執行 Azure CLI,則也需要執行 az login 以建立與 Azure 的連線。If you are running the Azure CLI locally, you also need to run az login to create a connection with Azure.

您登入或連線到 Azure 的帳戶必須指派給「網路參與者」角色,或指派給已獲指派 [許可權] 中所列適當動作的自訂角色The account you log into, or connect to Azure with, must be assigned to the network contributor role or to a custom role that is assigned the appropriate actions listed in Permissions.

公用 IP 位址需要少許費用。Public IP addresses have a nominal charge. 若要檢視價格,請閱讀 IP 位址價格頁面。To view the pricing, read the IP address pricing page.

建立公用 IP 位址Create a public IP address

如需如何使用入口網站、PowerShell 或 CLI 建立公用 IP 位址的指示,請參閱下列頁面:For instructions on how to Create Public IP addresses using the Portal, PowerShell, or CLI -- please refer to the following pages:

注意

雖然入口網站提供可讓您建立兩個公用 IP 位址資源 (一個 IPv4 和一個 IPv6) 的選項,但 PowerShell 和 CLI 命令會建立一個資源,其中包含一個 IP 版本或另一個 IP 版本的位址。Though the portal provides the option to create two public IP address resources (one IPv4 and one IPv6), the PowerShell and CLI commands create one resource with an address for one IP version or the other. 如果您想要兩個公用 IP 位址資源(每個 IP 版本各一個),您必須執行命令兩次,指定公用 IP 位址資源的不同名稱和 IP 版本。If you want two public IP address resources, one for each IP version, you must run the command twice, specifying different names and IP versions for the public IP address resources.

如需建立時公用 IP 位址之特定屬性的詳細資訊,請參閱下表。For additional detail on the specific attributes of a Public IP address during creation, see the table below.

設定Setting 必要?Required? 詳細資料Details
IP 版本IP Version Yes 選取 [IPv4] 或 [IPv6] 或 [兩者]。Select IPv4 or IPv6 or Both. 選取兩者都會導致2個公用 IP 位址建立-1 個 IPv4 位址和1個 IPv6 位址。Selecting Both will result in 2 Public IP addresses being create- 1 IPv4 address and 1 IPv6 address. 深入瞭解 Azure vnet 中的 IPv6Learn more about IPv6 in Azure VNETs.
SKUSKU Yes 在 Sku 推出之前建立的所有公用 IP 位址都是 基本 SKU 公用 ip 位址。All public IP addresses created before the introduction of SKUs are Basic SKU public IP addresses. 建立公用 IP 位址之後,即無法變更 SKU。You cannot change the SKU after the public IP address is created. 獨立虛擬機器、可用性設定組內的虛擬機器,或虛擬機器擴展集,可以使用基本或標準 SKU。A standalone virtual machine, virtual machines within an availability set, or virtual machine scale sets can use Basic or Standard SKUs. 不允許在可用性設定組或擴展集或獨立 Vm 內的虛擬機器之間混合使用 Sku。Mixing SKUs between virtual machines within availability sets or scale sets or standalone VMs is not allowed. 基本 SKU:如果您要在支援可用性區域的區域中建立公用 IP 位址,可用性區域 設定依預設會設為「無」。Basic SKU: If you are creating a public IP address in a region that supports availability zones, the Availability zone setting is set to None by default. 基本公用 Ip 不支援可用性區域。Basic Public IPs do not support Availability zones. 標準 SKU:標準 SKU 公用 IP 可與虛擬機器或負載平衡器前端建立關聯。Standard SKU: A Standard SKU public IP can be associated to a virtual machine or a load balancer front end. 如果您要在支援可用性區域的區域中建立公用 IP 位址,可用性區域 設定依預設會設為「區域備援」。If you're creating a public IP address in a region that supports availability zones, the Availability zone setting is set to Zone-redundant by default. 如需可用性區域的詳細資訊,請參閱 可用性區域 設定。For more information about availability zones, see the Availability zone setting. 如果您要將位址與標準負載平衡器建立關聯,則需要標準 SKU。The standard SKU is required if you associate the address to a Standard load balancer. 若要深入了解標準負載平衡器,請參閱 Azure 負載平衡器標準 SKUTo learn more about standard load balancers, see Azure load balancer standard SKU. 當您將標準 SKU 的公用 IP 位址指派給虛擬機器的網路介面時,必須使用網路安全性群組明確地允許預定的流量。When you assign a standard SKU public IP address to a virtual machine’s network interface, you must explicitly allow the intended traffic with a network security group. 在建立和關聯網路安全性群組並明確地允許所要流量前,與資源進行的通訊都會失敗。Communication with the resource fails until you create and associate a network security group and explicitly allow the desired traffic.
服務層級Tier Yes 指出 IP 位址是否與區域 (區域) ,或從多個區域的「任意傳播」 (全域) 。Indicates if the IP address is associated with a region (Regional) or is "anycast" from multiple regions (Global). 請注意,「全域層」 IP 是標準 ip 的預覽功能,目前僅供跨區域 Load Balancer 使用Note that a "Global Tier" IP is preview functionality for Standard IPs, and currently only utilized for the Cross-Region Load Balancer.
NameName Yes 名稱必須是您選取的資源群組中唯一的名稱。The name must be unique within the resource group you select.
IP 位址指派IP address assignment Yes 動態︰ 只有在公用 IP 位址與 Azure 資源相關聯,且第一次啟動資源之後,才會指派動態位址。Dynamic: Dynamic addresses are assigned only after a public IP address is associated to an Azure resource, and the resource is started for the first time. 動態位址指派給資源時可以變更 (例如指派給虛擬機器,而虛擬機器停止 (解除配置),然後再重新開機)。Dynamic addresses can change if they're assigned to a resource, such as a virtual machine, and the virtual machine is stopped (deallocated), and then restarted. 如果虛擬機器已重新開機或停止 (但未解除配置),則位址維持不變。The address remains the same if a virtual machine is rebooted or stopped (but not deallocated). 當公用 IP 位址資源與其所關聯的資源中斷關聯時,便會釋放動態位址。Dynamic addresses are released when a public IP address resource is dissociated from a resource it is associated to. 靜態︰ 建立公用 IP 位址時會指派靜態位址。Static: Static addresses are assigned when a public IP address is created. 刪除公用 IP 位址資源之前,不會釋出靜態位址。Static addresses are not released until a public IP address resource is deleted. 如果位址與資源沒有關聯,您可以在位址建立後變更指派方法。If the address is not associated to a resource, you can change the assignment method after the address is created. 如果位址與資源相關聯,您可能無法變更指派方法。If the address is associated to a resource, you may not be able to change the assignment method. 如果您針對 IP 版本 選取 IPv6 ,則基本 SKU 的指派方法必須是 動態 的。If you select IPv6 for the IP version, the assignment method must be Dynamic for Basic SKU. 適用于 IPv4 和 IPv6 的標準 SKU 位址是 靜態 的。Standard SKU addresses are Static for both IPv4 and IPv6.
閒置逾時 (分鐘)Idle timeout (minutes) No 不需依賴用戶端傳送保持連線訊息,讓 TCP 或 HTTP 連線保持開啟的分鐘數。How many minutes to keep a TCP or HTTP connection open without relying on clients to send keep-alive messages. 如果您選取 IPv6 作為 IP 版本,則無法變更此值。If you select IPv6 for IP Version, this value can't be changed.
DNS 名稱標籤DNS name label No 在您建立名稱的 Azure 位置 (跨越所有訂用帳戶和所有位置) 中必須是唯一的。Must be unique within the Azure location you create the name in (across all subscriptions and all customers). Azure 會在其 DNS 中自動登錄名稱和 IP 位址,以便您連線至具有此名稱的資源。Azure automatically registers the name and IP address in its DNS so you can connect to a resource with the name. Azure 會將 location.cloudapp.azure.com (其中 location 是您選取的位置) 之類的預設子網路附加至您提供的名稱 ,以建立完整的 DNS 名稱。Azure appends a default subnet such as location.cloudapp.azure.com (where location is the location you select) to the name you provide, to create the fully qualified DNS name. 如果您選擇兩個位址版本都建立,則會指派相同的 DNS 名稱給 IPv4 和 IPv6 位址。If you choose to create both address versions, the same DNS name is assigned to both the IPv4 and IPv6 addresses. Azure 預設 DNS 包含 IPv4 A 和 IPv6 AAAA 名稱記錄,並且會在查詢 DNS 名稱時回應這兩個記錄。Azure's default DNS contains both IPv4 A and IPv6 AAAA name records and responds with both records when the DNS name is looked up. 用戶端選擇要與哪一個位址 (IPv4 或 IPv6) 通訊。The client chooses which address (IPv4 or IPv6) to communicate with. 可改為 (或同時) 使用具有預設尾碼的 DNS 名稱標籤,您可以使用 Azure DNS 服務來設定 DNS 名稱,其具有解析為公用 IP 位址的自訂尾碼。Instead of, or in addition to, using the DNS name label with the default suffix, you can use the Azure DNS service to configure a DNS name with a custom suffix that resolves to the public IP address. 如需詳細資訊,請參閱使用具有 Azure 公用 IP 位址的 Azure DNSFor more information, see Use Azure DNS with an Azure public IP address.
只有當您選取 兩個) 的 IP 版本時,才會顯示 [名稱] (Name (Only visible if you select IP Version of Both) 是,如果您選取 兩者 的 IP 版本Yes, if you select IP Version of Both 該名稱必須與此清單中的第一個 名稱 不同。The name must be different than the name you enter for the first Name in this list. 如果您選擇同時建立 IPv4 和 IPv6 位址,則入口網站會建立兩個個別的公用 IP 位址資源,並各指派一個 IP 位址版本。If you choose to create both an IPv4 and an IPv6 address, the portal creates two separate public IP address resources, one with each IP address version assigned to it.
IP 位址指派 (只有在您選取 兩個) 的 ip 版本時才會顯示IP address assignment (Only visible if you select IP Version of Both) 是,如果您選取 兩者 的 IP 版本Yes, if you select IP Version of Both 與上述 IP 位址指派相同的限制Same restrictions as IP Address Assignment above
訂用帳戶Subscription Yes 必須存在於與您將與公用 IP 相關聯之資源的相同 用帳戶中。Must exist in the same subscription as the resource to which you'll associate the Public IP's.
資源群組Resource group Yes 可以存在於與公用 IP 建立關聯的資源相同或不同的 資源群組 中。Can exist in the same, or different, resource group as the resource to which you'll associate the Public IP's.
位置Location Yes 必須存在於相同的 位置(也稱為區域),作為您將與公用 IP 建立關聯的資源。Must exist in the same location, also referred to as region, as the resource to which you'll associate the Public IP's.
可用性區域Availability zone No 只有在您選取受支援的位置時,才會出現此設定。This setting only appears if you select a supported location. 如需受支援位置的清單,請參閱可用性區域概觀For a list of supported locations, see Availability zones overview. 如果您選取 基本 SKU,則會自動為您選取「無」。If you selected the Basic SKU, None is automatically selected for you. 如果您想要保證特定區域,可選取特定區域。If you prefer to guarantee a specific zone, you may select a specific zone. 或選擇非區域備援。Either choice is not zone-redundant. 如果您選取 標準 SKU:會自動為您選取區域備援,並針對區域失敗進行資料路徑復原。If you selected the Standard SKU: Zone-redundant is automatically selected for you and makes your data path resilient to zone failure. 如果您希望保證對區域失敗無法復原的特定區域,則可選取特定區域。If you prefer to guarantee a specific zone, which is not resilient to zone failure, you may select a specific zone.

查看、修改公用 IP 位址的設定,或刪除公用 IP 位址View, modify settings for, or delete a public IP address

  • 視圖/清單:若要檢查公用 IP 的設定,包括 SKU、位址、任何適用的關聯 (例如虛擬機器 NIC、Load Balancer 前端) 。View/List: To review settings for a Public IP, including the SKU, address, any applicable association (e.g. Virtual Machine NIC, Load Balancer Frontend).
  • 修改:使用 建立公用 IP 位址的步驟4中的資訊來修改設定,例如閒置 timeout、DNS 名稱標籤或指派方法。Modify: To modify settings using the information in step 4 of create a public IP address, such as the idle timeout, DNS name label, or assignment method. (如需將公用 IP SKU 從基本升級至標準的完整程式,請參閱 升級 Azure 公用 ip 位址。 ) (For the full process of upgrading a Public IP SKU from Basic to Standard, see Upgrade Azure public IP addresses.)

警告

若要將公用 IP 位址的指派從靜態變更為動態,您必須先中斷任何適用 IP 設定的位址關聯 (請參閱 刪除 區段) 。To change the assignment for a Public IP address from static to dynamic, you must first dissociate the address from any applicable IP configurations (see Delete section). 另請注意,當您將指派方法從靜態變更為動態時,會遺失指派給公用 IP 位址的 IP 位址。Also note, when you change the assignment method from static to dynamic, you lose the IP address that was assigned to the public IP address. 雖然 Azure 公用 DNS 伺服器會維護靜態或動態位址與任何 DNS 名稱標籤 (如果您定義一個位置) 之間的對應,但是動態 IP 位址可能會在虛擬機器處於停止 (已解除配置) 狀態後啟動時變更。While the Azure public DNS servers maintain a mapping between static or dynamic addresses and any DNS name label (if you defined one), a dynamic IP address can change when the virtual machine is started after being in the stopped (deallocated) state. 若要防止位址變更,請指派靜態 IP 位址。To prevent the address from changing, assign a static IP address.

作業Operation Azure 入口網站Azure portal Azure PowerShellAzure PowerShell Azure CLIAzure CLI
檢視View 在公用 IP 的 [ 總覽 ] 區段中In the Overview section of a Public IP >get-azpublicipaddress 以取得公用 IP 位址物件並查看其設定Get-AzPublicIpAddress to retrieve a public IP address object and view its settings az 網路公用 ip 顯示 顯示設定az network public-ip show to show settings
ListList 在 [ 公用 IP 位址 ] 類別下Under the Public IP addresses category >get-azpublicipaddress 以取得一或多個公用 IP 位址物件並查看其設定Get-AzPublicIpAddress to retrieve one or more public IP address objects and view its settings az 網路公用 ip 清單 可列出公用 ip 位址az network public-ip list to list public IP addresses
修改Modify 若為中斷關聯的 IP,請 選取 [ 設定] 以修改閒置的超時時間、DNS 名稱標籤,或將基本 IP 的變更指派從靜態變更為動態For an IP that is dissociated, select Configuration to modify idle timeout, DNS name label, or change assignment of Basic IP from Static to Dynamic >get-azpublicipaddress 以更新設定Set-AzPublicIpAddress to update settings az 網路公用 ip 更新 以進行更新az network public-ip update to update
  • 刪除:公用 ip 的刪除要求公用 ip 物件不會與任何 IP 設定或虛擬機器 NIC 相關聯。Delete: Deletion of Public IPs requires that the Public IP object not be associated to any IP configuration or Virtual Machine NIC. 如需詳細資訊,請參閱下表。See the table below for more details.
資源Resource Azure 入口網站Azure portal Azure PowerShellAzure PowerShell Azure CLIAzure CLI
虛擬機器Virtual Machine 選取 [中斷關聯] 以中斷 IP 位址與 NIC 設定的關聯, 然後選取 [ 刪除]。Select Dissociate to dissociate the IP address from the NIC configuration, then select Delete. >get-azpublicipaddress 會中斷 IP 位址與 NIC 設定的關聯; 移除->get-azpublicipaddress 以刪除Set-AzPublicIpAddress to dissociate the IP address from the NIC configuration; Remove-AzPublicIpAddress to delete az network public-ip update--移除以中斷 ip 位址與 NIC 設定的關聯;az 要刪除的網路公用 ip 刪除az network public-ip update --remove to dissociate the IP address from the NIC configuration; az network public-ip delete to delete
Load Balancer 前端Load Balancer Frontend 流覽至未使用的公用 IP 位址,然後選取 [ 關聯 ] 並挑選具有相關前端 IP 設定的 Load Balancer 來取代它 (然後可以使用與 VM 相同的方法來刪除舊 IP) Navigate to an unused Public IP address and select Associate and pick the Load Balancer with the relevant Front End IP Configuration to replace it (then the old IP can be deleted using same method as for VM) >new-azloadbalancerfrontendipconfig 會將新的前端 IP 設定與公用 Load Balancer 建立關聯; 移除->get-azpublicipaddress 以刪除;如果有一個以上的 IP 設定,也可以使用 >new-azloadbalancerfrontendipconfig 來移除前端 IP 設定Set-AzLoadBalancerFrontendIpConfig to associate new Frontend IP config with Public Load Balancer; Remove-AzPublicIpAddress to delete; can also use Remove-AzLoadBalancerFrontendIpConfig to remove Frontend IP Config if there are more than one az network lb 前端-ip 更新 ,以將新的前端 ip 設定與公用 Load Balancer 建立關聯; 移除->get-azpublicipaddress 以刪除;也可以使用 az network lb 前端-ip 刪除 來移除前端 ip 設定(如果有一個以上)az network lb frontend-ip update to associate new Frontend IP config with Public Load Balancer; Remove-AzPublicIpAddress to delete; can also use az network lb frontend-ip delete to remove Frontend IP Config if there are more than one
防火牆Firewall N/AN/A () 解除分配,以解除配置防火牆並移除所有 IP 設定Deallocate() to deallocate firewall and remove all IP configurations az network firewall ip-config delete 以移除 ip (但必須使用 PowerShell 來解除配置第一個) az network firewall ip-config delete to remove IP (but must use PowerShell to deallocate first)

虛擬機器擴展集Virtual Machine Scale Sets

使用具有公用 Ip 的虛擬機器擴展集時,不會有不同的公用 IP 物件與個別的虛擬機器實例相關聯。When using a virtual machine scale set with Public IPs, there are not separate Public IP objects associated with the individual virtual machine instances. 不過,您可以使用公用 IP 前置詞物件 來產生實例 ipHowever, a Public IP Prefix object can be used to generate the instance IPs.

若要列出虛擬機器擴展集上的公用 Ip,您可以使用 PowerShell (>get-azpublicipaddress-VirtualMachineScaleSetName) 或 CLI (az vmss list-instance-Public-ip) 。To list the Public IPs on a virtual machine scale set, you can use PowerShell (Get-AzPublicIpAddress -VirtualMachineScaleSetName) or CLI (az vmss list-instance-public-ips).

如需詳細資訊,請參閱 Azure 虛擬機器擴展集的網路功能For more information, see Networking for Azure virtual machine scale sets.

指派公用 IP 位址Assign a public IP address

了解如何將公用 IP 位址指派給下列資源:Learn how to assign a public IP address to the following resources:

權限Permissions

若要針對公用 IP 位址執行工作,您的帳戶必須指派為網路參與者角色,或為已指派下表所列適當動作的自訂角色:To perform tasks on public IP addresses, your account must be assigned to the network contributor role or to a custom role that is assigned the appropriate actions listed in the following table:

動作Action NameName
Microsoft.Network/publicIPAddresses/readMicrosoft.Network/publicIPAddresses/read 讀取公用 IP 位址Read a public IP address
Microsoft.Network/publicIPAddresses/writeMicrosoft.Network/publicIPAddresses/write 建立或更新公用 IP 位址Create or update a public IP address
Microsoft.Network/publicIPAddresses/deleteMicrosoft.Network/publicIPAddresses/delete 刪除公用 IP 位址Delete a public IP address
Microsoft.Network/publicIPAddresses/join/actionMicrosoft.Network/publicIPAddresses/join/action 將公用 IP 位址與資源建立關聯Associate a public IP address to a resource

下一步Next steps