Class VirtualClusterUpdate

java.lang.Object
com.azure.resourcemanager.sql.models.VirtualClusterUpdate

public final class VirtualClusterUpdate extends Object
An update request for an Azure SQL Database virtual cluster.
  • Constructor Details

    • VirtualClusterUpdate

      public VirtualClusterUpdate()
      Creates an instance of VirtualClusterUpdate class.
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public VirtualClusterUpdate withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the VirtualClusterUpdate object itself.
    • subnetId

      public String subnetId()
      Get the subnetId property: Subnet resource ID for the virtual cluster.
      Returns:
      the subnetId value.
    • family

      public String family()
      Get the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.
      Returns:
      the family value.
    • withFamily

      public VirtualClusterUpdate withFamily(String family)
      Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.
      Parameters:
      family - the family value to set.
      Returns:
      the VirtualClusterUpdate object itself.
    • childResources

      public List<String> childResources()
      Get the childResources property: List of resources in this virtual cluster.
      Returns:
      the childResources value.
    • maintenanceConfigurationId

      public String maintenanceConfigurationId()
      Get the maintenanceConfigurationId property: Specifies maintenance configuration id to apply to this virtual cluster.
      Returns:
      the maintenanceConfigurationId value.
    • withMaintenanceConfigurationId

      public VirtualClusterUpdate withMaintenanceConfigurationId(String maintenanceConfigurationId)
      Set the maintenanceConfigurationId property: Specifies maintenance configuration id to apply to this virtual cluster.
      Parameters:
      maintenanceConfigurationId - the maintenanceConfigurationId value to set.
      Returns:
      the VirtualClusterUpdate object itself.
    • validate

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