Class VMResourcesInner

java.lang.Object
com.azure.resourcemanager.elastic.fluent.models.VMResourcesInner

public final class VMResourcesInner extends Object
The vm resource properties that is currently being monitored by the Elastic monitor resource.
  • Constructor Details

    • VMResourcesInner

      public VMResourcesInner()
      Creates an instance of VMResourcesInner class.
  • Method Details

    • vmResourceId

      public String vmResourceId()
      Get the vmResourceId property: The ARM id of the VM resource.
      Returns:
      the vmResourceId value.
    • withVmResourceId

      public VMResourcesInner withVmResourceId(String vmResourceId)
      Set the vmResourceId property: The ARM id of the VM resource.
      Parameters:
      vmResourceId - the vmResourceId value to set.
      Returns:
      the VMResourcesInner object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.