REST API - get

vcenter vm guest operations: get

Get information about the guest operation status. Warning: This operation is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Request:

HTTP request

GET https://{server}/rest/vcenter/vm/{vm}/guest/operations

Path Parameters

Name Type Description
Required
vm string Identifier of the virtual machine.

Response:

HTTP Status Code: 200

Representation:

{
    "value"{
        "interactive_guest_operations_ready"true,
        "guest_operations_ready"true
    }
}

Response Type:

Name Type Description
bold = required
value info guest operations readiness.
value.guest_operations_ready boolean Guest operations availability. If set, the virtual machine is ready to process guest operations. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

value.interactive_guest_operations_ready boolean Interactive guest operations availability. If set, the virtual machine is ready to process interactive guest operations. Warning: This attribute is part of a new feature in development. It may be changed at any time and may not have all supported functionality implemented.

Errors:

HTTP Status Code Type Description
404 not_found if the virtual machine is not found.
503 service_unavailable if VMware Tools is not running.