| Package | Description |
|---|---|
| com.google.api.services.compute.model |
| Modifier and Type | Method and Description |
|---|---|
ReservationAffinity |
ReservationAffinity.clone() |
ReservationAffinity |
Instance.getReservationAffinity()
The configuration of desired reservations from which this Instance can consume capacity from.
|
ReservationAffinity |
InstanceProperties.getReservationAffinity()
The configuration of desired reservations which this Instance could consume capacity from.
|
ReservationAffinity |
ReservationAffinity.set(String fieldName,
Object value) |
ReservationAffinity |
ReservationAffinity.setConsumeReservationType(String consumeReservationType)
Specifies the type of reservation from which this instance can consume resources:
ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION.
|
ReservationAffinity |
ReservationAffinity.setKey(String key)
Corresponds to the label key of reservation resource.
|
ReservationAffinity |
ReservationAffinity.setValues(List<String> values)
Corresponds to the label values of reservation resource.
|
| Modifier and Type | Method and Description |
|---|---|
Instance |
Instance.setReservationAffinity(ReservationAffinity reservationAffinity)
The configuration of desired reservations from which this Instance can consume capacity from.
|
InstanceProperties |
InstanceProperties.setReservationAffinity(ReservationAffinity reservationAffinity)
The configuration of desired reservations which this Instance could consume capacity from.
|
Copyright © 2011–2019 Google. All rights reserved.