ApiPortalResourceRequests Class

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

Implements

public final class ApiPortalResourceRequests
implements JsonSerializable<ApiPortalResourceRequests>

Resource requests of the API portal.

Constructor Summary

Constructor Description
ApiPortalResourceRequests()

Creates an instance of ApiPortalResourceRequests class.

Method Summary

Modifier and Type Method and Description
String cpu()

Get the cpu property: Cpu allocated to each API portal instance.

static ApiPortalResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of ApiPortalResourceRequests from the JsonReader.

String memory()

Get the memory property: Memory allocated to each API portal instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ApiPortalResourceRequests

public ApiPortalResourceRequests()

Creates an instance of ApiPortalResourceRequests class.

Method Details

cpu

public String cpu()

Get the cpu property: Cpu allocated to each API portal instance.

Returns:

the cpu value.

fromJson

public static ApiPortalResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of ApiPortalResourceRequests from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

memory

public String memory()

Get the memory property: Memory allocated to each API portal instance.

Returns:

the memory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to