Class SingleServerConfiguration

java.lang.Object
com.azure.resourcemanager.workloads.models.InfrastructureConfiguration
com.azure.resourcemanager.workloads.models.SingleServerConfiguration

public final class SingleServerConfiguration extends InfrastructureConfiguration
Gets or sets the single server configuration.
  • Constructor Details

    • SingleServerConfiguration

      public SingleServerConfiguration()
  • Method Details

    • networkConfiguration

      public NetworkConfiguration networkConfiguration()
      Get the networkConfiguration property: Network configuration for the server.
      Returns:
      the networkConfiguration value.
    • withNetworkConfiguration

      public SingleServerConfiguration withNetworkConfiguration(NetworkConfiguration networkConfiguration)
      Set the networkConfiguration property: Network configuration for the server.
      Parameters:
      networkConfiguration - the networkConfiguration value to set.
      Returns:
      the SingleServerConfiguration object itself.
    • databaseType

      public SapDatabaseType databaseType()
      Get the databaseType property: The database type.
      Returns:
      the databaseType value.
    • withDatabaseType

      public SingleServerConfiguration withDatabaseType(SapDatabaseType databaseType)
      Set the databaseType property: The database type.
      Parameters:
      databaseType - the databaseType value to set.
      Returns:
      the SingleServerConfiguration object itself.
    • subnetId

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

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

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

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

      public SingleServerConfiguration withAppResourceGroup(String appResourceGroup)
      Set the appResourceGroup property: The application resource group where SAP system resources will be deployed.
      Overrides:
      withAppResourceGroup in class InfrastructureConfiguration
      Parameters:
      appResourceGroup - the appResourceGroup value to set.
      Returns:
      the InfrastructureConfiguration object itself.
    • validate

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