Interface EmailTemplateContract


  • public interface EmailTemplateContract
    An immutable client-side representation of EmailTemplateContract.
    • 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.
      • subject

        String subject()
        Gets the subject property: Subject of the Template.
        Returns:
        the subject value.
      • body

        String body()
        Gets the body property: Email Template Body. This should be a valid XDocument.
        Returns:
        the body value.
      • title

        String title()
        Gets the title property: Title of the Template.
        Returns:
        the title value.
      • description

        String description()
        Gets the description property: Description of the Email Template.
        Returns:
        the description value.
      • isDefault

        Boolean isDefault()
        Gets the isDefault property: Whether the template is the default template provided by API Management or has been edited.
        Returns:
        the isDefault value.
      • innerModel

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

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

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

        EmailTemplateContract 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.