java.lang.Object
com.azure.core.management.ProxyResource
com.azure.core.management.Resource
com.azure.resourcemanager.applicationinsights.models.WorkbookTemplateResource
com.azure.resourcemanager.applicationinsights.fluent.models.WorkbookTemplateInner

public final class WorkbookTemplateInner extends WorkbookTemplateResource
An Application Insights workbook template definition.
  • Constructor Details

    • WorkbookTemplateInner

      public WorkbookTemplateInner()
  • Method Details

    • withLocation

      public WorkbookTemplateInner withLocation(String location)
      Overrides:
      withLocation in class WorkbookTemplateResource
    • withTags

      public WorkbookTemplateInner withTags(Map<String,String> tags)
      Overrides:
      withTags in class WorkbookTemplateResource
    • priority

      public Integer priority()
      Get the priority property: Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
      Returns:
      the priority value.
    • withPriority

      public WorkbookTemplateInner withPriority(Integer priority)
      Set the priority property: Priority of the template. Determines which template to open when a workbook gallery is opened in viewer mode.
      Parameters:
      priority - the priority value to set.
      Returns:
      the WorkbookTemplateInner object itself.
    • author

      public String author()
      Get the author property: Information about the author of the workbook template.
      Returns:
      the author value.
    • withAuthor

      public WorkbookTemplateInner withAuthor(String author)
      Set the author property: Information about the author of the workbook template.
      Parameters:
      author - the author value to set.
      Returns:
      the WorkbookTemplateInner object itself.
    • templateData

      public Object templateData()
      Get the templateData property: Valid JSON object containing workbook template payload.
      Returns:
      the templateData value.
    • withTemplateData

      public WorkbookTemplateInner withTemplateData(Object templateData)
      Set the templateData property: Valid JSON object containing workbook template payload.
      Parameters:
      templateData - the templateData value to set.
      Returns:
      the WorkbookTemplateInner object itself.
    • galleries

      public List<WorkbookTemplateGallery> galleries()
      Get the galleries property: Workbook galleries supported by the template.
      Returns:
      the galleries value.
    • withGalleries

      public WorkbookTemplateInner withGalleries(List<WorkbookTemplateGallery> galleries)
      Set the galleries property: Workbook galleries supported by the template.
      Parameters:
      galleries - the galleries value to set.
      Returns:
      the WorkbookTemplateInner object itself.
    • localized

      Get the localized property: Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.
      Returns:
      the localized value.
    • withLocalized

      Set the localized property: Key value pair of localized gallery. Each key is the locale code of languages supported by the Azure portal.
      Parameters:
      localized - the localized value to set.
      Returns:
      the WorkbookTemplateInner object itself.
    • validate

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