Package com.ibm.cloud.is.vpc.v1.model
Class ReplaceBareMetalServerInitializationOptions
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.is.vpc.v1.model.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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReplaceBareMetalServerInitializationOptions.Builder
Builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
id()
Gets the id.ImageIdentity
image()
Gets the image.List<KeyIdentity>
keys()
Gets the keys.ReplaceBareMetalServerInitializationOptions.Builder
newBuilder()
New builder.String
userData()
Gets the userData.
-
-
-
Method Detail
-
newBuilder
public ReplaceBareMetalServerInitializationOptions.Builder newBuilder()
New builder.- Returns:
- a ReplaceBareMetalServerInitializationOptions builder
-
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
-
-