Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::EnvironmentCreateOrUpdateParameters

Inherits:
CreateOrUpdateTrackedResourceProperties show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_create_or_update_parameters.rb

Overview

Parameters supplied to the CreateOrUpdate Environment operation.

Instance Attribute Summary collapse

Attributes inherited from CreateOrUpdateTrackedResourceProperties

#location, #tags

Class Method Summary collapse

Instance Attribute Details

#data_retention_timeDuration

days the environment’s events will be available for query.

Returns:

  • (Duration)

    ISO8601 timespan specifying the minimum number of



21
22
23
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_create_or_update_parameters.rb', line 21

def data_retention_time
  @data_retention_time
end

#partition_key_propertiesArray<PartitionKeyProperty>

according to which the data in the environment will be ordered.

Returns:



34
35
36
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_create_or_update_parameters.rb', line 34

def partition_key_properties
  @partition_key_properties
end

#skuSku

SLA (in queries-per-minute and total capacity), and the billing rate.

Returns:

  • (Sku)

    The sku determines the capacity of the environment, the



17
18
19
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_create_or_update_parameters.rb', line 17

def sku
  @sku
end

#storage_limit_exceeded_behaviorStorageLimitExceededBehavior

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’

Returns:



30
31
32
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_create_or_update_parameters.rb', line 30

def storage_limit_exceeded_behavior
  @storage_limit_exceeded_behavior
end

Class Method Details

.mapperObject

Mapper for EnvironmentCreateOrUpdateParameters class as Ruby Hash. This will be used for serialization/deserialization.



41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_create_or_update_parameters.rb', line 41

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnvironmentCreateOrUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'EnvironmentCreateOrUpdateParameters',
      model_properties: {
        location: {
          client_side_validation: true,
          required: true,
          serialized_name: 'location',
          type: {
            name: 'String'
          }
        },
        tags: {
          client_side_validation: true,
          required: false,
          serialized_name: 'tags',
          type: {
            name: 'Dictionary',
            value: {
                client_side_validation: true,
                required: false,
                serialized_name: 'StringElementType',
                type: {
                  name: 'String'
                }
            }
          }
        },
        sku: {
          client_side_validation: true,
          required: true,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        data_retention_time: {
          client_side_validation: true,
          required: true,
          serialized_name: 'properties.dataRetentionTime',
          type: {
            name: 'TimeSpan'
          }
        },
        storage_limit_exceeded_behavior: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.storageLimitExceededBehavior',
          type: {
            name: 'Enum',
            module: 'StorageLimitExceededBehavior'
          }
        },
        partition_key_properties: {
          client_side_validation: true,
          required: false,
          serialized_name: 'properties.partitionKeyProperties',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'PartitionKeyPropertyElementType',
                type: {
                  name: 'Composite',
                  class_name: 'PartitionKeyProperty'
                }
            }
          }
        }
      }
    }
  }
end