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 Summary
ConstructorsConstructorDescriptionCreates an instance of StorageInsightProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the containers property: The names of the blob containers that the workspace should read.static StorageInsightPropertiesfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of StorageInsightProperties from the JsonReader.status()Get the status property: The status of the storage insight.Get the storageAccount property: The storage account connection details.tables()Get the tables property: The names of the Azure tables that the workspace should read.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) withContainers(List<String> containers) Set the containers property: The names of the blob containers that the workspace should read.withStorageAccount(StorageAccount storageAccount) Set the storageAccount property: The storage account connection details.withTables(List<String> tables) Set the tables property: The names of the Azure tables that the workspace should read.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
StorageInsightProperties
public StorageInsightProperties()Creates an instance of StorageInsightProperties class.
-
-
Method Details
-
containers
-
withContainers
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
-
withTables
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
Get the storageAccount property: The storage account connection details.- Returns:
- the storageAccount value.
-
withStorageAccount
Set the storageAccount property: The storage account connection details.- Parameters:
storageAccount- the storageAccount value to set.- Returns:
- the StorageInsightProperties object itself.
-
status
Get the status property: The status of the storage insight.- Returns:
- the status value.
-
toJson
- Specified by:
toJsonin interfacecom.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.
-