Class ServiceRegistryResourceRequests

java.lang.Object
com.azure.resourcemanager.appplatform.models.ServiceRegistryResourceRequests

public final class ServiceRegistryResourceRequests extends Object
Resource request payload of Service Registry.
  • 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:
      the cpu value.
    • memory

      public String memory()
      Get the memory property: Memory allocated to each Service Registry instance.
      Returns:
      the memory value.
    • instanceCount

      public Integer 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.