Interface Database


  • public interface Database
    An immutable client-side representation of Database.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String charset()
      Gets the charset property: The charset of the database.
      String collation()
      Gets the collation property: The collation of the database.
      String id()
      Gets the id property: Fully qualified resource Id for the resource.
      DatabaseInner innerModel()
      Gets the inner com.azure.resourcemanager.mysqlflexibleserver.fluent.models.DatabaseInner object.
      String name()
      Gets the name property: The name of the resource.
      Database refresh()
      Refreshes the resource to sync with Azure.
      Database refresh​(com.azure.core.util.Context context)
      Refreshes the resource to sync with Azure.
      com.azure.core.management.SystemData systemData()
      Gets the systemData property: The system metadata relating to this resource.
      String type()
      Gets the type property: The type of the resource.
      Database.Update update()
      Begins update for the Database resource.
    • Method Detail

      • id

        String id()
        Gets the id property: Fully qualified resource Id for the resource.
        Returns:
        the id value.
      • name

        String name()
        Gets the name property: The name of the resource.
        Returns:
        the name value.
      • type

        String type()
        Gets the type property: The type of the resource.
        Returns:
        the type value.
      • systemData

        com.azure.core.management.SystemData systemData()
        Gets the systemData property: The system metadata relating to this resource.
        Returns:
        the systemData value.
      • charset

        String charset()
        Gets the charset property: The charset of the database.
        Returns:
        the charset value.
      • collation

        String collation()
        Gets the collation property: The collation of the database.
        Returns:
        the collation value.
      • innerModel

        DatabaseInner innerModel()
        Gets the inner com.azure.resourcemanager.mysqlflexibleserver.fluent.models.DatabaseInner object.
        Returns:
        the inner object.
      • update

        Database.Update update()
        Begins update for the Database resource.
        Returns:
        the stage of resource update.
      • refresh

        Database refresh()
        Refreshes the resource to sync with Azure.
        Returns:
        the refreshed resource.
      • refresh

        Database refresh​(com.azure.core.util.Context context)
        Refreshes the resource to sync with Azure.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        the refreshed resource.