Gen1EnvironmentCreationProperties Class

Properties used to create a Gen1 environment.

All required parameters must be populated in order to send to Azure.

Inheritance
Gen1EnvironmentCreationProperties

Constructor

Gen1EnvironmentCreationProperties(*, data_retention_time: datetime.timedelta, storage_limit_exceeded_behavior: Optional[Union[str, azure.mgmt.timeseriesinsights.models._time_series_insights_client_enums.StorageLimitExceededBehavior]] = None, partition_key_properties: Optional[List[azure.mgmt.timeseriesinsights.models._models_py3.TimeSeriesIdProperty]] = None, **kwargs)

Parameters

data_retention_time
timedelta
Required

Required. ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.

storage_limit_exceeded_behavior
str or StorageLimitExceededBehavior
Required

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. Possible values include: "PurgeOldData", "PauseIngress".

partition_key_properties
list[TimeSeriesIdProperty]
Required

The list of event properties which will be used to partition data in the environment. Currently, only a single partition key property is supported.