SetVmStaticIp

Specifies an IP address for a VM NIC, that is, controls the IP address that ZStack Cloud can assign to the VM NIC. Make sure that the specified IP address is on the specified L3 network and is not occupied. For example,
SetVmStaticIp vmInstanceUuid=7c4162e8d32d4bea8f7e799024c6b735 
l3NetworkUuid=4d855bb0c72640f5a643ba8e88ae85df ip=10.141.13.85

Parameters

Name Description Optional Valid Value Starting Version
vmInstanceUuid The VM instance UUID. 0.6
l3NetworkUuid The L3 network UUID. 0.6
ip The specified IP address. 0.6
ip6 The specified IPv6 address. Yes 3.10.0
userTags The user tags. For more information, see CreateUserTag. The resource type is VmInstanceVO. Yes 0.6
systemTags The system tags. For more information, see CreateSystemTag. The resource type is VmInstanceVO. Yes 0.6
timeout Yes