Class VMCollectionUpdate

java.lang.Object
com.azure.resourcemanager.elastic.models.VMCollectionUpdate

public final class VMCollectionUpdate extends Object
Update VM resource collection.
  • Constructor Details

    • VMCollectionUpdate

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

    • vmResourceId

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

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

      public OperationName operationName()
      Get the operationName property: OperationName

      Operation to be performed for given VM.

      Returns:
      the operationName value.
    • withOperationName

      public VMCollectionUpdate withOperationName(OperationName operationName)
      Set the operationName property: OperationName

      Operation to be performed for given VM.

      Parameters:
      operationName - the operationName value to set.
      Returns:
      the VMCollectionUpdate object itself.
    • validate

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