Gen1EnvironmentCreateOrUpdateParameters Class
- java.
lang. Object - com.
azure. resourcemanager. timeseriesinsights. models. CreateOrUpdateTrackedResourceProperties - com.
azure. resourcemanager. timeseriesinsights. models. EnvironmentCreateOrUpdateParameters - com.
azure. resourcemanager. timeseriesinsights. models. Gen1EnvironmentCreateOrUpdateParameters
- com.
- com.
- com.
public final class Gen1EnvironmentCreateOrUpdateParameters
extends EnvironmentCreateOrUpdateParameters
Parameters supplied to the Create or Update Environment operation for a Gen1 environment.
Constructor Summary
Constructor | Description |
---|---|
Gen1EnvironmentCreateOrUpdateParameters() |
Creates an instance of Gen1Environment |
Method Summary
Modifier and Type | Method and Description |
---|---|
Duration |
dataRetentionTime()
Get the data |
List<Time |
partitionKeyProperties()
Get the partition |
Storage |
storageLimitExceededBehavior()
Get the storage |
void |
validate()
Validates the instance. |
Gen1Environment |
withDataRetentionTime(Duration dataRetentionTime)
Set the data |
Gen1Environment |
withLocation(String location)
Set the location property: The location of the resource. |
Gen1Environment |
withPartitionKeyProperties(List<TimeSeriesIdProperty> partitionKeyProperties)
Set the partition |
Gen1Environment |
withSku(Sku sku)
Set the sku property: The sku determines the type of environment, either Gen1 (S1 or S2) or Gen2 (L1). |
Gen1Environment |
withStorageLimitExceededBehavior(StorageLimitExceededBehavior storageLimitExceededBehavior)
Set the storage |
Gen1Environment |
withTags(Map<String,String> tags)
Set the tags property: Key-value pairs of additional properties for the resource. |
Methods inherited from CreateOrUpdateTrackedResourceProperties
Methods inherited from EnvironmentCreateOrUpdateParameters
Methods inherited from java.lang.Object
Constructor Details
Gen1EnvironmentCreateOrUpdateParameters
public Gen1EnvironmentCreateOrUpdateParameters()
Creates an instance of Gen1EnvironmentCreateOrUpdateParameters class.
Method Details
dataRetentionTime
public Duration dataRetentionTime()
Get the dataRetentionTime property: ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
Returns:
partitionKeyProperties
public List
Get 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.
Returns:
storageLimitExceededBehavior
public StorageLimitExceededBehavior storageLimitExceededBehavior()
Get 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.
Returns:
validate
public void validate()
Validates the instance.
Overrides:
Gen1EnvironmentCreateOrUpdateParameters.validate()withDataRetentionTime
public Gen1EnvironmentCreateOrUpdateParameters withDataRetentionTime(Duration dataRetentionTime)
Set the dataRetentionTime property: ISO8601 timespan specifying the minimum number of days the environment's events will be available for query.
Parameters:
Returns:
withLocation
public Gen1EnvironmentCreateOrUpdateParameters withLocation(String location)
Set the location property: The location of the resource.
Overrides:
Gen1EnvironmentCreateOrUpdateParameters.withLocation(String location)Parameters:
withPartitionKeyProperties
public Gen1EnvironmentCreateOrUpdateParameters withPartitionKeyProperties(List
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.
Parameters:
Returns:
withSku
public Gen1EnvironmentCreateOrUpdateParameters withSku(Sku sku)
Set the sku property: 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.
Overrides:
Gen1EnvironmentCreateOrUpdateParameters.withSku(Sku sku)Parameters:
withStorageLimitExceededBehavior
public Gen1EnvironmentCreateOrUpdateParameters 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.
Parameters:
Returns:
withTags
public Gen1EnvironmentCreateOrUpdateParameters withTags(Map
Set the tags property: Key-value pairs of additional properties for the resource.
Overrides:
Gen1EnvironmentCreateOrUpdateParameters.withTags(Map<String,String> tags)Parameters:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for