DevCenterSkuInner Class
- java.
lang. Object - com.
azure. resourcemanager. devcenter. models. Sku - com.
azure. resourcemanager. devcenter. fluent. models. DevCenterSkuInner
- com.
- com.
public final class DevCenterSkuInner
extends Sku
The resource model definition representing SKU for DevCenter resources.
Constructor Summary
| Constructor | Description |
|---|---|
| DevCenterSkuInner() |
Creates an instance of Dev |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<Capability> |
capabilities()
Get the capabilities property: Collection of name/value pairs to describe the SKU capabilities. |
|
static
Dev |
fromJson(JsonReader jsonReader)
Reads an instance of Dev |
| List<String> |
locations()
Get the locations property: SKU supported locations. |
| String |
resourceType()
Get the resource |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Dev |
withCapacity(Integer capacity)
Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included. |
|
Dev |
withFamily(String family)
Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here. |
|
Dev |
withName(String name)
Set the name property: The name of the SKU. |
|
Dev |
withSize(String size)
Set the size property: The SKU size. |
|
Dev |
withTier(SkuTier tier)
Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT. |
Methods inherited from Sku
Methods inherited from java.lang.Object
Constructor Details
DevCenterSkuInner
public DevCenterSkuInner()
Creates an instance of DevCenterSkuInner class.
Method Details
capabilities
public List<Capability> capabilities()
Get the capabilities property: Collection of name/value pairs to describe the SKU capabilities.
Returns:
fromJson
public static DevCenterSkuInner fromJson(JsonReader jsonReader)
Reads an instance of DevCenterSkuInner from the JsonReader.
Parameters:
Returns:
Throws:
locations
public List<String> locations()
Get the locations property: SKU supported locations.
Returns:
resourceType
public String resourceType()
Get the resourceType property: The name of the resource type.
Returns:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
DevCenterSkuInner.toJson(JsonWriter jsonWriter)Parameters:
Throws:
validate
public void validate()
Validates the instance.
Overrides:
DevCenterSkuInner.validate()withCapacity
public DevCenterSkuInner withCapacity(Integer capacity)
Set the capacity property: If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted.
Overrides:
DevCenterSkuInner.withCapacity(Integer capacity)Parameters:
withFamily
public DevCenterSkuInner withFamily(String family)
Set the family property: If the service has different generations of hardware, for the same SKU, then that can be captured here.
Overrides:
DevCenterSkuInner.withFamily(String family)Parameters:
withName
public DevCenterSkuInner withName(String name)
Set the name property: The name of the SKU. Ex - P3. It is typically a letter+number code.
Overrides:
DevCenterSkuInner.withName(String name)Parameters:
withSize
public DevCenterSkuInner withSize(String size)
Set the size property: The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code.
Overrides:
DevCenterSkuInner.withSize(String size)Parameters:
withTier
public DevCenterSkuInner withTier(SkuTier tier)
Set the tier property: This field is required to be implemented by the Resource Provider if the service has more than one tier, but is not required on a PUT.
Overrides:
DevCenterSkuInner.withTier(SkuTier tier)Parameters: