When I tried doing this with portal I could achieve it from virtual machine networking .. I wanted to know if it works with either NIC or VM arm-template .I tried the both and they failed. 1.Network profile - Networking ID 2.Virtual Machine -ID
Can I attach a VM to NIC through an arm template?
769 Views Asked by twinkle hema At
1
There are 1 best solutions below
Related Questions in AZURE-RESOURCE-MANAGER
- Azure Resource manager .Net API fails to get Resource group
- How to see health of instances in a load balancer?
- How can I use Azure-provided DNS for Resource Manager VMs?
- Azure manage compute API is failing with InvalidAPIVersion error
- Output admin URL string from azuredeploy / ARM script
- Azure ARM Templates
- How to capture Azure VM Image with "Specialized" VM creation type using power shell? or How to create a Specialized image of a RM VM?
- How to Copy Azure SQL Database using ARM Template
- Creating Azure VM from custom image
- How can I make my Azure logic app portable
- What is the best practice for updating an already existing web app deployment using ARM?
- Azure Container Services: Who patches, updates,... (Kubernetes)
- Powershell script can't execute Register-ScheduledJob as a Azure Resource Manager CustomScriptExtension
- Azure DSC Extension: What is "Module-qualified Name of Configuration"
- Azure Logic Apps - ARM template to deploy filesystem API connection
Related Questions in AZURE-VIRTUAL-NETWORK
- Can't connect in RDP on an Azure VM
- Azure Cloud Service connected with Azure Virtual Network - is the internal IP static or dynamic?
- How to set network security group rules for azure storage services?
- Ping Azure VM in same subnet using VM name
- Azure Reserved IP Address Inconsistency
- Azure Virtual Network Custom DNS Server
- Extend On-premise AD to Azure
- SMB access to on-premise resource from Azure Web App via Virtual Network
- Azure External Load Balancer - Adding LB Rules with PowerShell
- Azure VM Servers SQLlaasExtenstion is in transitioning state
- Azure indirect Peering
- Creating a new subnet inside a classic azure vnet
- Having on-prem IP to point to Azure VM
- Domain Controller in Azure VM slow to respond
- Connect two Azure VMs,across regions, via VPN
Related Questions in AZURE-RM-TEMPLATE
- Unable to upload SSL certificate to Azure with a Service Principal account
- Azure Arm template deployment of a web app zip package programmatically using build artifact
- Do custom script extensions specified in ARM templates run each time the VM is restarted?
- Azure Resource Template: language expression is not supported
- Azure ARM template for an insights alert
- Azure ARM Template for Dropdownn type Parameter
- Arm Template conditional output parameters
- Deploy two Azure App Services to the same App Service Plan using idempotent ARM TEMPLATE
- Create Batch Account and Key Vault in single ARM script
- ARM template automation
- Azure. How to deploy VM from managed image with ARM Template
- Azure Batch Linked Service Not Found in ADF Pipeline
- Multiple conditions in arm templates
- Heat to ARM template conversion via tool present on git hum :: exceptions and error
- How can I configure the password and username of a ClearDb MySQL database in an ARM template
Related Questions in AZURE-VM-TEMPLATES
- Format Azure Virtual Machine Windows 2012 R2
- Terraform for_each?
- Unable to install Node.js on Azure VM using CustomScriptForLinux
- Can I attach a VM to NIC through an arm template?
- While setting kubernetes cluster, kubeadm initialization command is giving error
- Azure Windows VM with Azure AD Authentication
- Create Azure VM from existing VHD without powershell
- How to access environment variables in custom script extension script on Azure
- Dynamically pass ARM parameter as customscriptextension parameter
- availability set can be used along with scale set or scale set is enough
- Windows OS support in Azure VS AWS any list
- The term 'Set-AzureRmVMPlan' is not recognized as the name of a cmdlet
- Creating more than one user while provisioning azure linux vm via CLI
- How to deploy a Azure VM with few file existing already using ARM template?
- Initialize a new data disk in azure VM with template
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
It seems you cannot attach an existing or a new NIC and attach to the existing VM through template. There is no property of NIC to achieve it. You just can create a VM and attach an existing or new NIC to it. For more details about template of NIC, see Microsoft.Network/networkInterfaces template reference.