Class Gen1EnvironmentResourceProperties
java.lang.Object
com.azure.resourcemanager.timeseriesinsights.fluent.models.Gen1EnvironmentCreationProperties
com.azure.resourcemanager.timeseriesinsights.fluent.models.Gen1EnvironmentResourceProperties
Properties of the Gen1 environment.
-
Constructor Summary
ConstructorDescriptionCreates an instance of Gen1EnvironmentResourceProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the creationTime property: The time the resource was created.Get the dataAccessFqdn property: The fully qualified domain name used to access the environment data, e.g.Get the dataAccessId property: An id used to access the environment data, e.g.Get the provisioningState property: Provisioning state of the resource.status()
Get the status property: An object that represents the status of the environment, and its internal state in the Time Series Insights service.void
validate()
Validates the instance.withDataRetentionTime
(Duration dataRetentionTime) Set the dataRetentionTime property: ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.withPartitionKeyProperties
(List<TimeSeriesIdProperty> partitionKeyProperties) Set the partitionKeyProperties property: The list of event properties which will be used to partition data in the environment.withStorageLimitExceededBehavior
(StorageLimitExceededBehavior storageLimitExceededBehavior) Set the storageLimitExceededBehavior property: The behavior the Time Series Insights service should take when the environment's capacity has been exceeded.Methods inherited from class com.azure.resourcemanager.timeseriesinsights.fluent.models.Gen1EnvironmentCreationProperties
dataRetentionTime, partitionKeyProperties, storageLimitExceededBehavior
-
Constructor Details
-
Gen1EnvironmentResourceProperties
public Gen1EnvironmentResourceProperties()Creates an instance of Gen1EnvironmentResourceProperties class.
-
-
Method Details
-
dataAccessId
Get the dataAccessId property: An id used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.- Returns:
- the dataAccessId value.
-
dataAccessFqdn
Get the dataAccessFqdn property: The fully qualified domain name used to access the environment data, e.g. to query the environment's events or upload reference data for the environment.- Returns:
- the dataAccessFqdn value.
-
status
Get the status property: An object that represents the status of the environment, and its internal state in the Time Series Insights service.- Returns:
- the status value.
-
provisioningState
Get the provisioningState property: Provisioning state of the resource.- Returns:
- the provisioningState value.
-
creationTime
Get the creationTime property: The time the resource was created.- Returns:
- the creationTime value.
-
withDataRetentionTime
Set the dataRetentionTime property: ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.- Overrides:
withDataRetentionTime
in classGen1EnvironmentCreationProperties
- Parameters:
dataRetentionTime
- the dataRetentionTime value to set.- Returns:
- the Gen1EnvironmentCreationProperties object itself.
-
withStorageLimitExceededBehavior
public Gen1EnvironmentResourceProperties withStorageLimitExceededBehavior(StorageLimitExceededBehavior storageLimitExceededBehavior) Set the storageLimitExceededBehavior property: The behavior the Time Series Insights service should take when the environment's capacity has been exceeded. If "PauseIngress" is specified, new events will not be read from the event source. If "PurgeOldData" is specified, new events will continue to be read and old events will be deleted from the environment. The default behavior is PurgeOldData.- Overrides:
withStorageLimitExceededBehavior
in classGen1EnvironmentCreationProperties
- Parameters:
storageLimitExceededBehavior
- the storageLimitExceededBehavior value to set.- Returns:
- the Gen1EnvironmentCreationProperties object itself.
-
withPartitionKeyProperties
public Gen1EnvironmentResourceProperties withPartitionKeyProperties(List<TimeSeriesIdProperty> partitionKeyProperties) Set the partitionKeyProperties property: The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported.- Overrides:
withPartitionKeyProperties
in classGen1EnvironmentCreationProperties
- Parameters:
partitionKeyProperties
- the partitionKeyProperties value to set.- Returns:
- the Gen1EnvironmentCreationProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classGen1EnvironmentCreationProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-