Class InstancePoolInner


  • public class InstancePoolInner
    extends com.azure.core.management.Resource
    An Azure SQL instance pool.
    • Constructor Detail

      • InstancePoolInner

        public InstancePoolInner()
    • Method Detail

      • sku

        public Sku sku()
        Get the sku property: The name and tier of the SKU.
        Returns:
        the sku value.
      • withSku

        public InstancePoolInner withSku​(Sku sku)
        Set the sku property: The name and tier of the SKU.
        Parameters:
        sku - the sku value to set.
        Returns:
        the InstancePoolInner object itself.
      • subnetId

        public String subnetId()
        Get the subnetId property: Resource ID of the subnet to place this instance pool in.
        Returns:
        the subnetId value.
      • withSubnetId

        public InstancePoolInner withSubnetId​(String subnetId)
        Set the subnetId property: Resource ID of the subnet to place this instance pool in.
        Parameters:
        subnetId - the subnetId value to set.
        Returns:
        the InstancePoolInner object itself.
      • vCores

        public Integer vCores()
        Get the vCores property: Count of vCores belonging to this instance pool.
        Returns:
        the vCores value.
      • withVCores

        public InstancePoolInner withVCores​(Integer vCores)
        Set the vCores property: Count of vCores belonging to this instance pool.
        Parameters:
        vCores - the vCores value to set.
        Returns:
        the InstancePoolInner object itself.
      • licenseType

        public InstancePoolLicenseType licenseType()
        Get the licenseType property: The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
        Returns:
        the licenseType value.
      • withLicenseType

        public InstancePoolInner withLicenseType​(InstancePoolLicenseType licenseType)
        Set the licenseType property: The license type. Possible values are 'LicenseIncluded' (price for SQL license is included) and 'BasePrice' (without SQL license price).
        Parameters:
        licenseType - the licenseType value to set.
        Returns:
        the InstancePoolInner object itself.
      • validate

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