Class InstanceReservationAffinityPatch

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class InstanceReservationAffinityPatch
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    InstanceReservationAffinityPatch.
    • Method Detail

      • policy

        public String policy()
        Gets the policy. The reservation affinity policy to use for this virtual server instance: - `disabled`: Reservations will not be used - `manual`: Reservations in `pool` will be available for use The policy must be `disabled` if `placement_target` is set.
        Returns:
        the policy
      • pool

        public List<ReservationIdentity> pool()
        Gets the pool. The pool of reservations available for use by this virtual server instance, replacing the existing pool of reservations. Specified reservations must have a `status` of `active`, and have the same `profile` and `zone` as this virtual server instance. If `policy` is `manual`, `pool` must have one reservation. If `policy` is `disabled`, `pool` must be empty.
        Returns:
        the pool