Class InstancePoolProperties
java.lang.Object
com.azure.resourcemanager.sql.fluent.models.InstancePoolProperties
Properties of an instance pool.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of InstancePoolProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the licenseType property: The license type.subnetId()Get the subnetId property: Resource ID of the subnet to place this instance pool in.voidvalidate()Validates the instance.intvCores()Get the vCores property: Count of vCores belonging to this instance pool.withLicenseType(InstancePoolLicenseType licenseType) Set the licenseType property: The license type.withSubnetId(String subnetId) Set the subnetId property: Resource ID of the subnet to place this instance pool in.withVCores(int vCores) Set the vCores property: Count of vCores belonging to this instance pool.
-
Constructor Details
-
InstancePoolProperties
public InstancePoolProperties()Creates an instance of InstancePoolProperties class.
-
-
Method Details
-
subnetId
Get the subnetId property: Resource ID of the subnet to place this instance pool in.- Returns:
- the subnetId value.
-
withSubnetId
Set the subnetId property: Resource ID of the subnet to place this instance pool in.- Parameters:
subnetId- the subnetId value to set.- Returns:
- the InstancePoolProperties object itself.
-
vCores
public int vCores()Get the vCores property: Count of vCores belonging to this instance pool.- Returns:
- the vCores value.
-
withVCores
Set the vCores property: Count of vCores belonging to this instance pool.- Parameters:
vCores- the vCores value to set.- Returns:
- the InstancePoolProperties object itself.
-
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
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 InstancePoolProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-