Class ReplaceBareMetalServerInitializationOptions

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

    public class ReplaceBareMetalServerInitializationOptions
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The replaceBareMetalServerInitialization options.
    • Method Detail

      • id

        public String id()
        Gets the id. The bare metal server identifier.
        Returns:
        the id
      • image

        public ImageIdentity image()
        Gets the image. The image to be used when provisioning the bare metal server.
        Returns:
        the image
      • keys

        public List<KeyIdentity> keys()
        Gets the keys. The public SSH keys to install on the bare metal server. Keys will be made available to the bare metal server as cloud-init vendor data. For cloud-init enabled images, these keys will also be added as SSH authorized keys for the administrative user. For Windows images, at least one key must be specified, and one will be selected to encrypt the administrator password. Keys are optional for other images, but if no keys are specified, the instance will be inaccessible unless the specified image provides another means of access.
        Returns:
        the keys
      • userData

        public String userData()
        Gets the userData. User data to be made available when initializing the bare metal server. If unspecified, no user data will be made available.
        Returns:
        the userData