Class CentralServerConfiguration

java.lang.Object
com.azure.resourcemanager.workloads.models.CentralServerConfiguration

public final class CentralServerConfiguration extends Object
Gets or sets the central server configuration.
  • Constructor Details

    • CentralServerConfiguration

      public CentralServerConfiguration()
  • Method Details

    • subnetId

      public String subnetId()
      Get the subnetId property: The subnet id.
      Returns:
      the subnetId value.
    • withSubnetId

      public CentralServerConfiguration withSubnetId(String subnetId)
      Set the subnetId property: The subnet id.
      Parameters:
      subnetId - the subnetId value to set.
      Returns:
      the CentralServerConfiguration object itself.
    • virtualMachineConfiguration

      public VirtualMachineConfiguration virtualMachineConfiguration()
      Get the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.
      Returns:
      the virtualMachineConfiguration value.
    • withVirtualMachineConfiguration

      public CentralServerConfiguration withVirtualMachineConfiguration(VirtualMachineConfiguration virtualMachineConfiguration)
      Set the virtualMachineConfiguration property: Gets or sets the virtual machine configuration.
      Parameters:
      virtualMachineConfiguration - the virtualMachineConfiguration value to set.
      Returns:
      the CentralServerConfiguration object itself.
    • instanceCount

      public long instanceCount()
      Get the instanceCount property: The number of central server VMs.
      Returns:
      the instanceCount value.
    • withInstanceCount

      public CentralServerConfiguration withInstanceCount(long instanceCount)
      Set the instanceCount property: The number of central server VMs.
      Parameters:
      instanceCount - the instanceCount value to set.
      Returns:
      the CentralServerConfiguration object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.