Class Gen2StorageConfigurationInput
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.models.Gen2StorageConfigurationInput
The storage configuration provides the connection details that allows the Time Series Insights service to connect to
the customer storage account that is used to store the environment's data.
-
Constructor Summary
ConstructorDescriptionCreates an instance of Gen2StorageConfigurationInput class. -
Method Summary
Modifier and TypeMethodDescriptionGet the accountName property: The name of the storage account that will hold the environment's Gen2 data.Get the managementKey property: The value of the management key that grants the Time Series Insights service write access to the storage account.void
validate()
Validates the instance.withAccountName
(String accountName) Set the accountName property: The name of the storage account that will hold the environment's Gen2 data.withManagementKey
(String managementKey) Set the managementKey property: The value of the management key that grants the Time Series Insights service write access to the storage account.
-
Constructor Details
-
Gen2StorageConfigurationInput
public Gen2StorageConfigurationInput()Creates an instance of Gen2StorageConfigurationInput class.
-
-
Method Details
-
accountName
Get the accountName property: The name of the storage account that will hold the environment's Gen2 data.- Returns:
- the accountName value.
-
withAccountName
Set the accountName property: The name of the storage account that will hold the environment's Gen2 data.- Parameters:
accountName
- the accountName value to set.- Returns:
- the Gen2StorageConfigurationInput object itself.
-
managementKey
Get the managementKey property: The value of the management key that grants the Time Series Insights service write access to the storage account. This property is not shown in environment responses.- Returns:
- the managementKey value.
-
withManagementKey
Set the managementKey property: The value of the management key that grants the Time Series Insights service write access to the storage account. This property is not shown in environment responses.- Parameters:
managementKey
- the managementKey value to set.- Returns:
- the Gen2StorageConfigurationInput object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-