public final class Sku extends Object
Constructor and Description |
---|
Sku() |
Modifier and Type | Method and Description |
---|---|
Long |
capacity()
Get the capacity property: Specifies the number of virtual machines in the scale set.
|
String |
name()
Get the name property: The sku name.
|
String |
tier()
Get the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible
Values:<br /><br /> **Standard**<br /><br /> **Basic**.
|
void |
validate()
Validates the instance.
|
Sku |
withCapacity(Long capacity)
Set the capacity property: Specifies the number of virtual machines in the scale set.
|
Sku |
withName(String name)
Set the name property: The sku name.
|
Sku |
withTier(String tier)
Set the tier property: Specifies the tier of virtual machines in a scale set.<br /><br /> Possible
Values:<br /><br /> **Standard**<br /><br /> **Basic**.
|
public String name()
public Sku withName(String name)
name
- the name value to set.public String tier()
public Sku withTier(String tier)
tier
- the tier value to set.public Long capacity()
public Sku withCapacity(Long capacity)
capacity
- the capacity value to set.public void validate()
IllegalArgumentException
- thrown if the instance is not valid.Copyright © 2020 Microsoft Corporation. All rights reserved.