Class AddServerGroupServersRequest

java.lang.Object
com.morpheusdata.request.AddServerGroupServersRequest

public class AddServerGroupServersRequest extends Object
Since:
1.4.0
  • Field Details

    • serverType

      public ComputeServerType serverType
      The type of server to add to the cluster.
    • serverName

      public String serverName
      Optional display name for the server(s). If not provided, a name will be auto-generated based on the cluster name and existing node count.
    • hostname

      public String hostname
      Optional hostname for the server(s). Defaults to serverName if not provided.
    • plan

      public ServicePlan plan
      The service plan (sizing) to use for the server(s).
    • config

      public Map<String,Object> config
      Additional configuration options passed to the provisioner. May include provider-specific settings such as resourcePoolId, customOptions, etc. May also include a server map to set additional params directly on the server object in the config
    • zoneId

      public Long zoneId
      ID of the cloud to provision into. Defaults to the cluster's cloud if not specified.
    • siteId

      public Long siteId
      ID of the group/site to provision into. Defaults to the cluster's site if not specified.
    • nodeCount

      public Integer nodeCount
      Number of nodes to add. Defaults to 1.
    • volumes

      public List<StorageVolume> volumes
      Storage volumes to attach to the server(s).
    • networkInterfaces

      public List<ComputeServerInterface> networkInterfaces
      Network interfaces to configure on the server(s).
    • securityGroupIds

      public List<Long> securityGroupIds
      Security group IDs to apply to the server(s).
    • licenseCheck

      public boolean licenseCheck
      Whether to perform license and connectivity checks before provisioning. Set to false to skip these checks. Defaults to true.
  • Constructor Details

    • AddServerGroupServersRequest

      public AddServerGroupServersRequest()