Class BareMetalServerPatch

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

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

      • bandwidth

        public Long bandwidth()
        Gets the bandwidth. The total bandwidth (in megabits per second) shared across the bare metal server's network interfaces. The specified value must match one of the bandwidth values in the bare metal server's profile.
        Returns:
        the bandwidth
      • enableSecureBoot

        public Boolean enableSecureBoot()
        Gets the enableSecureBoot. Indicates whether secure boot is enabled. If enabled, the image must support secure boot or the bare metal server will fail to boot. For `enable_secure_boot` to be changed, the bare metal server `status` must be `stopped`.
        Returns:
        the enableSecureBoot
      • name

        public String name()
        Gets the name. The name for this bare metal server. The name must not be used by another bare metal server in the region. Changing the name will not affect the system hostname.
        Returns:
        the name
      • asPatch

        public Map<String,​Object> asPatch()
        Construct a JSON merge-patch from the BareMetalServerPatch. Note that properties of the BareMetalServerPatch with null values are not represented in the constructed JSON merge-patch object, but can be explicitly set afterward to signify a property delete.
        Returns:
        a JSON merge-patch for the BareMetalServerPatch