GatewayOperatorResourceRequests Class
- java.
lang. Object - com.
azure. resourcemanager. appplatform. models. GatewayOperatorResourceRequests
- com.
Implements
public final class GatewayOperatorResourceRequests
implements JsonSerializable<GatewayOperatorResourceRequests>
Properties of the Spring Cloud Gateway Operator.
Constructor Summary
Constructor | Description |
---|---|
GatewayOperatorResourceRequests() |
Creates an instance of Gateway |
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
cpu()
Get the cpu property: Cpu allocated to each Spring Cloud Gateway Operator instance. |
static
Gateway |
fromJson(JsonReader jsonReader)
Reads an instance of Gateway |
Integer |
instanceCount()
Get the instance |
String |
memory()
Get the memory property: Memory allocated to each Spring Cloud Gateway Operator instance. |
Json |
toJson(JsonWriter jsonWriter) |
void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
GatewayOperatorResourceRequests
public GatewayOperatorResourceRequests()
Creates an instance of GatewayOperatorResourceRequests class.
Method Details
cpu
public String cpu()
Get the cpu property: Cpu allocated to each Spring Cloud Gateway Operator instance.
Returns:
fromJson
public static GatewayOperatorResourceRequests fromJson(JsonReader jsonReader)
Reads an instance of GatewayOperatorResourceRequests from the JsonReader.
Parameters:
Returns:
Throws:
instanceCount
public Integer instanceCount()
Get the instanceCount property: Instance count of the Spring Cloud Gateway Operator.
Returns:
memory
public String memory()
Get the memory property: Memory allocated to each Spring Cloud Gateway Operator instance.
Returns:
toJson
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java