ApplicationAcceleratorResourceRequests Class

  • java.lang.Object
    • com.azure.resourcemanager.appplatform.models.ApplicationAcceleratorResourceRequests

Implements

public final class ApplicationAcceleratorResourceRequests
implements JsonSerializable<ApplicationAcceleratorResourceRequests>

The ApplicationAcceleratorResourceRequests model.

Constructor Summary

Constructor Description
ApplicationAcceleratorResourceRequests()

Creates an instance of ApplicationAcceleratorResourceRequests class.

Method Summary

Modifier and Type Method and Description
String cpu()

Get the cpu property: Cpu allocated to each application accelerator component.

static ApplicationAcceleratorResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of ApplicationAcceleratorResourceRequests from the JsonReader.

Integer instanceCount()

Get the instanceCount property: Instance count of the application accelerator component.

String memory()

Get the memory property: Memory allocated to each application accelerator component.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ApplicationAcceleratorResourceRequests

public ApplicationAcceleratorResourceRequests()

Creates an instance of ApplicationAcceleratorResourceRequests class.

Method Details

cpu

public String cpu()

Get the cpu property: Cpu allocated to each application accelerator component. 1 core can be represented by 1 or 1000m.

Returns:

the cpu value.

fromJson

public static ApplicationAcceleratorResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of ApplicationAcceleratorResourceRequests from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceCount

public Integer instanceCount()

Get the instanceCount property: Instance count of the application accelerator component.

Returns:

the instanceCount value.

memory

public String memory()

Get the memory property: Memory allocated to each application accelerator component. 1 GB can be represented by 1Gi or 1024Mi.

Returns:

the memory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to