...
Parameter Name | Description |
---|---|
nic | The NIC that has been created (see NIC data objectsobject) |
This command requests that a NIC be attached to a specified virtual machine. A NIC may be attached to at most one virtual machine. The implementation must ensure that any security group rules associated with the NIC are in place and active before the NIC is actually connected to the virtual machine.
...
Parameter Name | Description |
---|---|
nic | The NIC that has been attached (see NIC data objectsobject) |
This command requests that a NIC be detached from the specified virtual machine. The command will be rejected if this is the only NIC attached to the specified virtual machine. Any security group rules associated with the NIC should be removed after the NIC is detached from the virtual machine.
...
Parameter Name | Description | Required |
---|---|---|
id | The id of the NIC | true |
virtualmachineid | The Id id of the virtual machine that the NIC will be attached to | true |
...
Parameter Name | Description |
---|---|
nic | The NIC that has been detached (see NIC data objectsobject) |
This command requests a list of NICs.
...
Parameter Name | Description | Required |
---|---|---|
id | The Id of the NIC | false |
account | The account owning the NIC | false |
domainid | The id of the domain in which the NIC should reside. If account is used, domainid must also be used. | false |
projectid | List only NICs from this project | false |
isrecursive | false | |
listall | false | |
virtualmachineid | List NICs for the specified virtual machine | false |
zoneid | List NICs in the specified zone | false |
Parameter | Description |
---|---|
List<nic> | List of NIC that match the search criteria (see NIC data objectsobject) |
This command requests that a NIC be deleted. The command will be rejected if the NIC is attached to a virtual machine.
...
Parameter | Description |
---|---|
securitygroups | The set of security groups associated with groups associated with the virtual machine's NICs is returned (i.e. only one instance of a security group is returned even if it is associated with more than one NIC). |
...
Attribute | Description |
---|---|
id | Id of the NIC |
securitygroup(*) | List of security groups associated with the NIC |
broadcasturi | URI |
gateway | string |
ipaddress | Primary IP address of the NIC |
secondaryipaddress(*) | List of secondary IP addresses for the NIC |
isdefault | Indicates if this the default NIC |
isolationuri | URI |
macaddress | string |
netmask | string |
networkid | string |
traffictype | string |
type | string |
...