Share via


SupportedSkuInner Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.fluent.models.SupportedSkuInner

Implements

public final class SupportedSkuInner
implements JsonSerializable<SupportedSkuInner>

Describes a Batch supported SKU.

Constructor Summary

Constructor Description
SupportedSkuInner()

Creates an instance of SupportedSkuInner class.

Method Summary

Modifier and Type Method and Description
OffsetDateTime batchSupportEndOfLife()

Get the batchSupportEndOfLife property: The time when Azure Batch service will retire this SKU.

List<SkuCapability> capabilities()

Get the capabilities property: A collection of capabilities which this SKU supports.

String familyName()

Get the familyName property: The family name of the SKU.

static SupportedSkuInner fromJson(JsonReader jsonReader)

Reads an instance of SupportedSkuInner from the JsonReader.

String name()

Get the name property: The name of the SKU.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

SupportedSkuInner

public SupportedSkuInner()

Creates an instance of SupportedSkuInner class.

Method Details

batchSupportEndOfLife

public OffsetDateTime batchSupportEndOfLife()

Get the batchSupportEndOfLife property: The time when Azure Batch service will retire this SKU.

Returns:

the batchSupportEndOfLife value.

capabilities

public List<SkuCapability> capabilities()

Get the capabilities property: A collection of capabilities which this SKU supports.

Returns:

the capabilities value.

familyName

public String familyName()

Get the familyName property: The family name of the SKU.

Returns:

the familyName value.

fromJson

public static SupportedSkuInner fromJson(JsonReader jsonReader)

Reads an instance of SupportedSkuInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of SupportedSkuInner 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 SupportedSkuInner.

name

public String name()

Get the name property: The name of the SKU.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to