Skip to content

networkInterfaces resource upon createVM completion #1085

@frederikbrinck

Description

@frederikbrinck

The createVM api exposes four variables on call back, along with a callback variable. As far as I could see, the networkInterfaces resource for that given VM is not accessible anywhere. In other words, it is not possible to get the external IP for the VM should one have been assigned, a part from getting all VMs after the creation of a particular one.

zone.createVM(name, config, function(err, vm, operation, apiResponse){
    operation.on('complete', function(metadata){
        // metadata, vm, operation, apiResponse don't include the networkInterfaces
    });
})

Am I missing something, or is this feature not yet implemented? And if not, I like to request it as an enhancement. Thanks!

Metadata

Metadata

Labels

api: computeIssues related to the Compute Engine API.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions