Windows Azure 内部IP

#查看订阅#

Get-AzureSubscription

#选择订阅#

Select-AzureSubscriptionc -SubscriptionId 7a16c12-44da-4820-2233-61e142181118

#查看VNET配置#

Get-AzureVNetSite

#测试IP地址是否被占用#

PS C:\> Test-AzureStaticVNetIP -VNetNametempsun  -IPAddress 10.0.0.5

详细信息: 10:40:53 - Begin Operation: Test-AzureStaticVNetIP

 

 

IsAvailable          : True

AvailableAddresses   : {}

OperationDescription : Test-AzureStaticVNetIP

OperationId          :399d0219-d23f-457e-82f2-5db0b65d34de

OperationStatus      : Succeeded

 

详细信息: 10:40:56 - Completed Operation: Test-AzureStaticVNetIP

 

#指定IP地址#

PS C:\> Get-AzureVM -ServiceName tempsun-Name dc02 | Set-AzureStaticVNetIP -IPAddress 10.0.0.4 | Update-AzureVM

详细信息: 10:42:50 - Completed Operation: Get Deployment

详细信息: 10:42:51 - Completed Operation: Get Deployment

详细信息: 10:42:51 - Begin Operation: Update-AzureVM

 

详细信息: 10:43:25 - Completed Operation: Update-AzureVM

OperationDescription OperationId                          OperationStatus

-------------------- -----------                          ---------------

Update-AzureVM       524112e5-a502-4328-94c7-ade212e7835eSucceeded


你可能感兴趣的:(azure,固定内部IP地址)