public class InstancePoolInner
extends com.azure.core.management.Resource
| Constructor and Description |
|---|
InstancePoolInner() |
| Modifier and Type | Method and Description |
|---|---|
InstancePoolLicenseType |
licenseType()
Get the licenseType property: The license type.
|
Sku |
sku()
Get the sku property: The name and tier of the SKU.
|
String |
subnetId()
Get the subnetId property: Resource ID of the subnet to place this instance pool in.
|
void |
validate()
Validates the instance.
|
Integer |
vCores()
Get the vCores property: Count of vCores belonging to this instance pool.
|
InstancePoolInner |
withLicenseType(InstancePoolLicenseType licenseType)
Set the licenseType property: The license type.
|
InstancePoolInner |
withSku(Sku sku)
Set the sku property: The name and tier of the SKU.
|
InstancePoolInner |
withSubnetId(String subnetId)
Set the subnetId property: Resource ID of the subnet to place this instance pool in.
|
InstancePoolInner |
withVCores(Integer vCores)
Set the vCores property: Count of vCores belonging to this instance pool.
|
public Sku sku()
public InstancePoolInner withSku(Sku sku)
sku - the sku value to set.public String subnetId()
public InstancePoolInner withSubnetId(String subnetId)
subnetId - the subnetId value to set.public Integer vCores()
public InstancePoolInner withVCores(Integer vCores)
vCores - the vCores value to set.public InstancePoolLicenseType licenseType()
public InstancePoolInner withLicenseType(InstancePoolLicenseType licenseType)
licenseType - the licenseType value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.