Class ServiceRegistryResourceRequests
java.lang.Object
com.azure.resourcemanager.appplatform.models.ServiceRegistryResourceRequests
Resource request payload of Service Registry.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of ServiceRegistryResourceRequests class. -
Method Summary
Modifier and TypeMethodDescriptioncpu()Get the cpu property: Cpu allocated to each Service Registry instance.Get the instanceCount property: Instance count of the Service Registry.memory()Get the memory property: Memory allocated to each Service Registry instance.voidvalidate()Validates the instance.
-
Constructor Details
-
ServiceRegistryResourceRequests
public ServiceRegistryResourceRequests()Creates an instance of ServiceRegistryResourceRequests class.
-
-
Method Details
-
cpu
Get the cpu property: Cpu allocated to each Service Registry instance.- Returns:
- the cpu value.
-
memory
Get the memory property: Memory allocated to each Service Registry instance.- Returns:
- the memory value.
-
instanceCount
Get the instanceCount property: Instance count of the Service Registry.- Returns:
- the instanceCount value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-