VirtualMachineFamilyCoreQuota Class

  • java.lang.Object
    • com.azure.resourcemanager.batch.models.VirtualMachineFamilyCoreQuota

Implements

public final class VirtualMachineFamilyCoreQuota
implements JsonSerializable<VirtualMachineFamilyCoreQuota>

A VM Family and its associated core quota for the Batch account.

Method Summary

Modifier and Type Method and Description
Integer coreQuota()

Get the coreQuota property: The core quota for the VM family for the Batch account.

static VirtualMachineFamilyCoreQuota fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineFamilyCoreQuota from the JsonReader.

String name()

Get the name property: The Virtual Machine family name.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Method Details

coreQuota

public Integer coreQuota()

Get the coreQuota property: The core quota for the VM family for the Batch account.

Returns:

the coreQuota value.

fromJson

public static VirtualMachineFamilyCoreQuota fromJson(JsonReader jsonReader)

Reads an instance of VirtualMachineFamilyCoreQuota from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

name

public String name()

Get the name property: The Virtual Machine family name.

Returns:

the name value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to