简体   繁体   English

如何通过Azure ARM模板部署引用不在VM / App网关资源组中的另一个Vnet的VM / App网关

[英]How to deploy a VM/App gateway referring to another Vnet which is not in the VM/App gateway's resource group through Azure ARM template

Example: 例:

Consider the below scenario: 请考虑以下情形:

Resource group: A-> VM 资源组:A-> VM

Resource group: B-> Vnet 资源组:B-> Vnet

I want to create a VM which is in Resource group A by referring the Vnet to Resource group B. I want to achieve this by Azure ARM template. 我想通过将Vnet引用到资源组B创建一个在资源组A中的VM。我想通过Azure ARM模板实现这一点。

Can some one help me here? 有人可以帮我吗?

您可以使用嵌套模板来做到这一点,或者看看这个快速入门模板

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 如何通过VNET网关从Mac RDP到Azure VM - How to rdp from mac to azure vm through vnet gateway Azure VM 和 App Service 通过 VNET 集成 - Azure VM and App Service integration through VNET 通过ARM在Azure VM上部署本地数据网关 - Deploy on premise data gateway on Azure VM via ARM 如何在Azure资源组模板中创建VM和部署应用程序 - How to Create a VM and deploy an application in Azure Resource Group Template 如何使用 ARM 模板将 Azure VM 添加到现有 Vnet 或新 Vnet - How can I add Azure VM to existing Vnet or new Vnet using ARM template Azure 应用程序网关未在后端池中显示来自其他 VNet 的 VM - Azure Application Gateway not showing VM from other VNet in backend pool 通过Azure中的ARM模板部署Windows和Linux VM - Deploy Windows and Linux VM through ARM template in Azure 在ARM模板中指定用于创建Azure DevTest Lab VM的资源组 - Specify resource group in ARM template for Azure DevTest Lab VM creation 如何从 Azure Linux Web 应用程序访问 VNET 内的 VM? - How to access VM inside VNET from a Azure Linux Web App? 如何通过驻留在同一 Vnet 中的应用服务从 azure VM 数据盘读取数据? - How to read data from azure VM data disk via app service which resides in same Vnet?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM