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