Class InstancePoolInner
java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.sql.fluent.models.InstancePoolInner
public final class InstancePoolInner
extends com.azure.core.management.Resource
An Azure SQL instance pool.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the licenseType property: The license type.sku()Get the sku property: The name and tier of the SKU.subnetId()Get the subnetId property: Resource ID of the subnet to place this instance pool in.voidvalidate()Validates the instance.vCores()Get the vCores property: Count of vCores belonging to this instance pool.withLicenseType(InstancePoolLicenseType licenseType) Set the licenseType property: The license type.withLocation(String location) Set the sku property: The name and tier of the SKU.withSubnetId(String subnetId) Set the subnetId property: Resource ID of the subnet to place this instance pool in.withVCores(Integer vCores) Set the vCores property: Count of vCores belonging to this instance pool.Methods inherited from class com.azure.core.management.Resource
location, tagsMethods inherited from class com.azure.core.management.ProxyResource
id, name, type
-
Constructor Details
-
InstancePoolInner
public InstancePoolInner()Creates an instance of InstancePoolInner class.
-
-
Method Details
-
sku
Get the sku property: The name and tier of the SKU.- Returns:
- the sku value.
-
withSku
Set the sku property: The name and tier of the SKU.- Parameters:
sku- the sku value to set.- Returns:
- the InstancePoolInner object itself.
-
withLocation
- Overrides:
withLocationin classcom.azure.core.management.Resource
-
withTags
- Overrides:
withTagsin classcom.azure.core.management.Resource
-
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 InstancePoolInner object itself.
-
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 InstancePoolInner 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 InstancePoolInner object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-