Package org.ovirt.engine.sdk4.services
Interface VnicProfilesService.AddRequest
-
- All Superinterfaces:
Request<VnicProfilesService.AddRequest,VnicProfilesService.AddResponse>
- Enclosing interface:
- VnicProfilesService
public static interface VnicProfilesService.AddRequest extends Request<VnicProfilesService.AddRequest,VnicProfilesService.AddResponse>
Add a vNIC profile. For example to add vNIC profile `123` to network `456` send a request to: [source] ---- POST /ovirt-engine/api/networks/456/vnicprofiles ---- With the following body: [source,xml] ----new_vNIC_name disabled false >. NOTE: The automatically created vNIC profile for the external network will be without network filter. The output of creating a new VNIC profile depends in the body arguments that were given. In case no network filter was given, the default network filter will be configured. For example: [source,xml] ---- new_vNIC_name disabled false no_network_filter user_choice_network_filter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VnicProfilesService.AddRequest
profile(VnicProfileBuilder profile)
The vNIC profile that is being added.VnicProfilesService.AddRequest
profile(VnicProfile profile)
-
-
-
Method Detail
-
profile
VnicProfilesService.AddRequest profile(VnicProfile profile)
-
profile
VnicProfilesService.AddRequest profile(VnicProfileBuilder profile)
The vNIC profile that is being added.
-
-