Get IP Address

Get IP Address

Returns the IP address of a VM

Request
URI
GET
https://{api_host}/api/vms/{id}/ip
COPY
Path Parameters
string
id
Required

ID of VM


Authentication
This operation uses the following authentication methods.
Responses
200

VM IP address

{
    "ip": "string"
}

400

Invalid parameters

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


401

Authentication failed

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


403

Permission denied

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


404

No such resource

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


409

Resource state conflicts

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


500

Server error

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message


default

Unexpected error

Returns ErrorModel of type(s) application/vnd.vmware.vmw.rest-v1+json
{
    "code": 0,
    "message": "string"
}
integer As int32 As int32
code
Required

code

string
message
Required

message