AttachNetworkInterface
GET /?Action=AttachNetworkInterface
Description
Attaches an FNI to an instance.
The FNI and the instance must be in the same Availability Zone (AZ). The instance can be either running or stopped. The FNI must be in the available state.
Body parameter
Required: false
Name: AttachNetworkInterfaceRequest
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
DeviceIndex |
The device index for the FNI attachment (between 1 and 7, both included). |
true |
integer |
||
DryRun |
If set to |
false |
boolean |
||
InstanceId |
The ID of the instance to which you want to attach the FNI. |
true |
string |
||
NetworkInterfaceId |
The ID of the FNI to attach. |
true |
string |
Responses
HTTP Code 200
| HTTP Code | Description | Schema |
|---|---|---|
200 |
AttachNetworkInterfaceResult |
Response 200
| Name | Description | Required | Schema | Default | Example |
|---|---|---|---|---|---|
attachmentId |
The ID of the attachment operation. |
false |
string |