Share via


LabServicesSkuInner Class

  • java.lang.Object
    • com.azure.resourcemanager.labservices.fluent.models.LabServicesSkuInner

Implements

public final class LabServicesSkuInner
implements JsonSerializable<LabServicesSkuInner>

Azure Lab Services resource SKUs.

Constructor Summary

Constructor Description
LabServicesSkuInner()

Creates an instance of LabServicesSkuInner class.

Method Summary

Modifier and Type Method and Description
List<LabServicesSkuCapabilities> capabilities()

Get the capabilities property: The capabilities of the SKU.

LabServicesSkuCapacity capacity()

Get the capacity property: The scale out/in options of the SKU.

List<LabServicesSkuCost> costs()

Get the costs property: Metadata for retrieving price info of a lab services SKUs.

String family()

Get the family property: The family of the SKU.

static LabServicesSkuInner fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuInner from the JsonReader.

List<String> locations()

Get the locations property: List of locations that are available for a size.

String name()

Get the name property: The name of the SKU.

String resourceType()

Get the resourceType property: The lab services resource type.

List<LabServicesSkuRestrictions> restrictions()

Get the restrictions property: Restrictions of a lab services SKUs.

String size()

Get the size property: The SKU size.

LabServicesSkuTier tier()

Get the tier property: The tier of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

LabServicesSkuInner withCapacity(LabServicesSkuCapacity capacity)

Set the capacity property: The scale out/in options of the SKU.

Methods inherited from java.lang.Object

Constructor Details

LabServicesSkuInner

public LabServicesSkuInner()

Creates an instance of LabServicesSkuInner class.

Method Details

capabilities

public List<LabServicesSkuCapabilities> capabilities()

Get the capabilities property: The capabilities of the SKU.

Returns:

the capabilities value.

capacity

public LabServicesSkuCapacity capacity()

Get the capacity property: The scale out/in options of the SKU.

Returns:

the capacity value.

costs

public List<LabServicesSkuCost> costs()

Get the costs property: Metadata for retrieving price info of a lab services SKUs.

Returns:

the costs value.

family

public String family()

Get the family property: The family of the SKU.

Returns:

the family value.

fromJson

public static LabServicesSkuInner fromJson(JsonReader jsonReader)

Reads an instance of LabServicesSkuInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of LabServicesSkuInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the LabServicesSkuInner.

locations

public List<String> locations()

Get the locations property: List of locations that are available for a size.

Returns:

the locations value.

name

public String name()

Get the name property: The name of the SKU.

Returns:

the name value.

resourceType

public String resourceType()

Get the resourceType property: The lab services resource type.

Returns:

the resourceType value.

restrictions

public List<LabServicesSkuRestrictions> restrictions()

Get the restrictions property: Restrictions of a lab services SKUs.

Returns:

the restrictions value.

size

public String size()

Get the size property: The SKU size.

Returns:

the size value.

tier

public LabServicesSkuTier tier()

Get the tier property: The tier of the SKU.

Returns:

the tier value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withCapacity

public LabServicesSkuInner withCapacity(LabServicesSkuCapacity capacity)

Set the capacity property: The scale out/in options of the SKU.

Parameters:

capacity - the capacity value to set.

Returns:

the LabServicesSkuInner object itself.

Applies to