Class StorageInsightProperties

java.lang.Object
com.azure.resourcemanager.loganalytics.fluent.models.StorageInsightProperties
All Implemented Interfaces:
com.azure.json.JsonSerializable<StorageInsightProperties>

public final class StorageInsightProperties extends Object implements com.azure.json.JsonSerializable<StorageInsightProperties>
Storage insight properties.
  • Constructor Details

    • StorageInsightProperties

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

    • 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 StorageInsightProperties 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 StorageInsightProperties 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 StorageInsightProperties 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 StorageInsightProperties object itself.
    • storageAccount

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

      public StorageInsightProperties withStorageAccount(StorageAccount storageAccount)
      Set the storageAccount property: The storage account connection details.
      Parameters:
      storageAccount - the storageAccount value to set.
      Returns:
      the StorageInsightProperties 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<StorageInsightProperties>
      Throws:
      IOException
    • fromJson

      public static StorageInsightProperties fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of StorageInsightProperties from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of StorageInsightProperties 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 StorageInsightProperties.