All URIs are relative to http://localhost/api
Method | HTTP request | Description |
---|---|---|
CreateNICDevice | Post /vms/{id}/nic | Creates a network adapter in the VM |
DeleteNICDevice | Delete /vms/{id}/nic/{index} | Deletes a VM network adapter |
GetAllNICDevices | Get /vms/{id}/nic | Returns all network adapters in the VM |
GetIPAddress | Get /vms/{id}/ip | Returns the IP address of a VM |
GetNicInfo | Get /vms/{id}/nicips | Returns the IP stack configuration of all NICs of a VM |
UpdateNICDevice | Put /vms/{id}/nic/{index} | Updates a network adapter in the VM |
NicDevice CreateNICDevice(ctx, id, parameters) Creates a network adapter in the VM
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ID of VM | |
parameters | NicDeviceParameter | Parameters of network adapter to create |
No authorization required
- Content-Type: application/vnd.vmware.vmw.rest-v1+json
- Accept: application/vnd.vmware.vmw.rest-v1+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeleteNICDevice(ctx, id, index) Deletes a VM network adapter
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ID of VM | |
index | string | Index of VM network adapter |
(empty response body)
No authorization required
- Content-Type: application/vnd.vmware.vmw.rest-v1+json
- Accept: application/vnd.vmware.vmw.rest-v1+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NicDevices GetAllNICDevices(ctx, id) Returns all network adapters in the VM
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ID of VM |
No authorization required
- Content-Type: application/vnd.vmware.vmw.rest-v1+json
- Accept: application/vnd.vmware.vmw.rest-v1+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
InlineResponse200 GetIPAddress(ctx, id) Returns the IP address of a VM
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ID of VM |
No authorization required
- Content-Type: application/vnd.vmware.vmw.rest-v1+json
- Accept: application/vnd.vmware.vmw.rest-v1+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NicIpStackAll GetNicInfo(ctx, id) Returns the IP stack configuration of all NICs of a VM
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ID of VM |
No authorization required
- Content-Type: application/vnd.vmware.vmw.rest-v1+json
- Accept: application/vnd.vmware.vmw.rest-v1+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
NicDevice UpdateNICDevice(ctx, id, index, parameters) Updates a network adapter in the VM
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
id | string | ID of VM | |
index | string | Index of VM network adapter | |
parameters | NicDeviceParameter | Parameters of network adapter to update to |
No authorization required
- Content-Type: application/vnd.vmware.vmw.rest-v1+json
- Accept: application/vnd.vmware.vmw.rest-v1+json
[Back to top] [Back to API list] [Back to Model list] [Back to README]