在 VM Azure 上保留当前 VIP

在 VM Azure 上保留当前 VIP

我正在尝试在虚拟机上保留当前 VIP。我不想创建新 IP,我想使用当前 VIP。我认为这从 1 或 2 个月前开始就是可能的。这是我运行的代码:

New-AzureReservedIP -ReservedIPName "vip01" -Location "West Europe" -ServiceName "myservice"

但我总是收到这个错误:

    VERBOSE: 13:53:59 - Begin Operation: New-AzureReservedIP
New-AzureReservedIP : BadRequest : Cannot reserve the ip of deployment sticketin.
At line:1 char:1
+ New-AzureReservedIP -ReservedIPName "vip01sticketin" -ServiceName "st ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [New-AzureReservedIP], ComputeCloudException
    + FullyQualifiedErrorId : Microsoft.WindowsAzure.Commands.ServiceManagement.IaaS.NewAzureReservedIPCmdlet

VERBOSE: 13:54:32 - Completed Operation: New-AzureReservedIP

有什么技巧可以保留当前 IP?

相关内容