Azure VM: Adding a Reserved IP address to an existing VM

前端 未结 8 1765
情话喂你
情话喂你 2021-02-05 23:13

What I have read so far on the web is that there is no way to add a reserved IP to an existing VM (unless I recreate the VM which I am trying to avoid). However, I have noticed

8条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-05 23:43

    In order to assign existing reserved IP to an existing VM, you can use the following command:

    Set-AzureReservedIPAssociation -ReservedIPName MyReservedIP -ServiceName TestService
    

提交回复
热议问题