Class StorageInsightInner

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.loganalytics.fluent.models.StorageInsightInner
All Implemented Interfaces:
com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>

public final class StorageInsightInner extends com.azure.core.management.ProxyResource
The top level storage insight resource container.
  • Constructor Details

    • StorageInsightInner

      public StorageInsightInner()
      Creates an instance of StorageInsightInner class.
  • Method Details

    • eTag

      public String eTag()
      Get the eTag property: The ETag of the storage insight.
      Returns:
      the eTag value.
    • withETag

      public StorageInsightInner withETag(String eTag)
      Set the eTag property: The ETag of the storage insight.
      Parameters:
      eTag - the eTag value to set.
      Returns:
      the StorageInsightInner object itself.
    • tags

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

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

      public com.azure.core.management.SystemData systemData()
      Get the systemData property: Azure Resource Manager metadata containing createdBy and modifiedBy information.
      Returns:
      the systemData value.
    • type

      public String type()
      Get the type property: The type of the resource.
      Overrides:
      type in class com.azure.core.management.ProxyResource
      Returns:
      the type value.
    • name

      public String name()
      Get the name property: The name of the resource.
      Overrides:
      name in class com.azure.core.management.ProxyResource
      Returns:
      the name value.
    • id

      public String id()
      Get the id property: Fully qualified resource Id for the resource.
      Overrides:
      id in class com.azure.core.management.ProxyResource
      Returns:
      the id value.
    • containers

      public List<String> containers()
      Get the containers property: The names of the blob containers that the workspace should read.
      Returns:
      the containers value.
    • withContainers

      public StorageInsightInner withContainers(List<String> containers)
      Set the containers property: The names of the blob containers that the workspace should read.
      Parameters:
      containers - the containers value to set.
      Returns:
      the StorageInsightInner object itself.
    • tables

      public List<String> tables()
      Get the tables property: The names of the Azure tables that the workspace should read.
      Returns:
      the tables value.
    • withTables

      public StorageInsightInner withTables(List<String> tables)
      Set the tables property: The names of the Azure tables that the workspace should read.
      Parameters:
      tables - the tables value to set.
      Returns:
      the StorageInsightInner object itself.
    • storageAccount

      public StorageAccount storageAccount()
      Get the storageAccount property: The storage account connection details.
      Returns:
      the storageAccount value.
    • withStorageAccount

      public StorageInsightInner withStorageAccount(StorageAccount storageAccount)
      Set the storageAccount property: The storage account connection details.
      Parameters:
      storageAccount - the storageAccount value to set.
      Returns:
      the StorageInsightInner object itself.
    • status

      public StorageInsightStatus status()
      Get the status property: The status of the storage insight.
      Returns:
      the status value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<com.azure.core.management.ProxyResource>
      Overrides:
      toJson in class com.azure.core.management.ProxyResource
      Throws:
      IOException
    • fromJson

      public static StorageInsightInner fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StorageInsightInner from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StorageInsightInner if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
      Throws:
      IllegalStateException - If the deserialized JSON object was missing any required properties.
      IOException - If an error occurs while reading the StorageInsightInner.