Gen1EnvironmentCreateOrUpdateParameters Class

Parameters supplied to the Create or Update Environment operation for a Gen1 environment.

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

Inheritance
azure.mgmt.timeseriesinsights.models._models_py3.EnvironmentCreateOrUpdateParameters
Gen1EnvironmentCreateOrUpdateParameters

Constructor

Gen1EnvironmentCreateOrUpdateParameters(*, location: str, sku: azure.mgmt.timeseriesinsights.models._models_py3.Sku, data_retention_time: datetime.timedelta, tags: Optional[Dict[str, str]] = None, 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

location
str
Required

Required. The location of the resource.

tags
dict[str, str]
Required

A set of tags. Key-value pairs of additional properties for the resource.

kind
str or EnvironmentKind
Required

Required. The kind of the environment.Constant filled by server. Possible values include: "Gen1", "Gen2".

sku
Sku
Required

Required. The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). For Gen1 environments the sku determines the capacity of the environment, the ingress rate, and the billing rate.

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.