Partilhar via


ConfigurationServiceResourceRequests Class

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

Implements

public final class ConfigurationServiceResourceRequests
implements JsonSerializable<ConfigurationServiceResourceRequests>

Resource request payload of Application Configuration Service.

Constructor Summary

Constructor Description
ConfigurationServiceResourceRequests()

Creates an instance of ConfigurationServiceResourceRequests class.

Method Summary

Modifier and Type Method and Description
String cpu()

Get the cpu property: Cpu allocated to each Application Configuration Service instance.

static ConfigurationServiceResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceResourceRequests from the JsonReader.

Integer instanceCount()

Get the instanceCount property: Instance count of the Application Configuration Service.

String memory()

Get the memory property: Memory allocated to each Application Configuration Service instance.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

ConfigurationServiceResourceRequests

public ConfigurationServiceResourceRequests()

Creates an instance of ConfigurationServiceResourceRequests class.

Method Details

cpu

public String cpu()

Get the cpu property: Cpu allocated to each Application Configuration Service instance.

Returns:

the cpu value.

fromJson

public static ConfigurationServiceResourceRequests fromJson(JsonReader jsonReader)

Reads an instance of ConfigurationServiceResourceRequests from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

instanceCount

public Integer instanceCount()

Get the instanceCount property: Instance count of the Application Configuration Service.

Returns:

the instanceCount value.

memory

public String memory()

Get the memory property: Memory allocated to each Application Configuration Service instance.

Returns:

the memory value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to