Class TagsResource

java.lang.Object
com.azure.resourcemanager.loganalytics.models.TagsResource

public final class TagsResource extends Object
A container holding only the Tags for a resource, allowing the user to update the tags on a QueryPack instance.
  • Constructor Details

    • TagsResource

      public TagsResource()
  • Method Details

    • tags

      public Map<String,String> tags()
      Get the tags property: Resource tags.
      Returns:
      the tags value.
    • withTags

      public TagsResource withTags(Map<String,String> tags)
      Set the tags property: Resource tags.
      Parameters:
      tags - the tags value to set.
      Returns:
      the TagsResource object itself.
    • validate

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