Package org.ovirt.engine.sdk4.services
Interface AffinityGroupVmLabelsService.AddRequest
-
- All Superinterfaces:
Request<AffinityGroupVmLabelsService.AddRequest,AffinityGroupVmLabelsService.AddResponse>
- Enclosing interface:
- AffinityGroupVmLabelsService
public static interface AffinityGroupVmLabelsService.AddRequest extends Request<AffinityGroupVmLabelsService.AddRequest,AffinityGroupVmLabelsService.AddResponse>
Adds a virtual machine label to the affinity group. For example, to add the label `789` to the affinity group `456` of cluster `123`, send a request like this: .... POST /ovirt-engine/api/clusters/123/affinitygroups/456/vmlabels .... With the following body: [source,xml] --------
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AffinityGroupVmLabelsService.AddRequest
label(AffinityLabelBuilder label)
The AffinityLabel object to add to the affinity group.AffinityGroupVmLabelsService.AddRequest
label(AffinityLabel label)
-
-
-
Method Detail
-
label
AffinityGroupVmLabelsService.AddRequest label(AffinityLabel label)
-
label
AffinityGroupVmLabelsService.AddRequest label(AffinityLabelBuilder label)
The AffinityLabel object to add to the affinity group.
-
-