java.lang.Object
com.azure.core.util.ExpandableStringEnum<Commit>
com.azure.resourcemanager.sqlvirtualmachine.models.Commit

public final class Commit extends com.azure.core.util.ExpandableStringEnum<Commit>
Replica commit mode in availability group.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Commit
    Static value ASYNCHRONOUS_COMMIT for Commit.
    static final Commit
    Static value SYNCHRONOUS_COMMIT for Commit.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Commit
    Creates or finds a Commit from its string representation.
    Gets known Commit values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • SYNCHRONOUS_COMMIT

      public static final Commit SYNCHRONOUS_COMMIT
      Static value SYNCHRONOUS_COMMIT for Commit.
    • ASYNCHRONOUS_COMMIT

      public static final Commit ASYNCHRONOUS_COMMIT
      Static value ASYNCHRONOUS_COMMIT for Commit.
  • Constructor Details

    • Commit

      public Commit()
  • Method Details

    • fromString

      public static Commit fromString(String name)
      Creates or finds a Commit from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Commit.
    • values

      public static Collection<Commit> values()
      Gets known Commit values.
      Returns:
      known Commit values.