Class InstancePatchProfile

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel
    Direct Known Subclasses:
    InstancePatchProfileInstanceProfileIdentityByHref, InstancePatchProfileInstanceProfileIdentityByName

    public class InstancePatchProfile
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    The profile to use for this virtual server instance. For the profile to be changed, the instance `status` must be `stopping` or `stopped`. In addition, the requested profile must: - Have matching instance disk support. Any disks associated with the current profile will be deleted, and any disks associated with the requested profile will be created. - Be compatible with any `placement_target` constraints. For example, if the instance is placed on a dedicated host, the requested profile `family` must be the same as the dedicated host `family`. - Have the same `vcpu.architecture`. - Support the number of network attachments or network interfaces the instance currently has. Classes which extend this class: - InstancePatchProfileInstanceProfileIdentityByName - InstancePatchProfileInstanceProfileIdentityByHref
    • Method Detail

      • name

        public String name()
        Gets the name. The globally unique name for this virtual server instance profile.
        Returns:
        the name
      • href

        public String href()
        Gets the href. The URL for this virtual server instance profile.
        Returns:
        the href