Class: Azure::TimeSeriesInsights::Mgmt::V2017_11_15::Models::EnvironmentUpdateParameters

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb

Overview

Parameters supplied to the Update Environment operation.

Instance Attribute Summary collapse

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



24
25
26
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 24

def data_retention_time
  @data_retention_time
end

#partition_key_propertiesArray<PartitionKeyProperty>

which will be used to partition data in the environment.

Returns:



37
38
39
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 37

def partition_key_properties
  @partition_key_properties
end

#skuSku

Returns The sku of the environment.

Returns:

  • (Sku)

    The sku of the environment.



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

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:



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

def storage_limit_exceeded_behavior
  @storage_limit_exceeded_behavior
end

#tagsHash{String => String}

properties for the environment.

Returns:

  • (Hash{String => String})

    Key-value pairs of additional



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

def tags
  @tags
end

Class Method Details

.mapperObject

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



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
# File 'lib/2017-11-15/generated/azure_mgmt_time_series_insights/models/environment_update_parameters.rb', line 44

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EnvironmentUpdateParameters',
    type: {
      name: 'Composite',
      class_name: 'EnvironmentUpdateParameters',
      model_properties: {
        sku: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sku',
          type: {
            name: 'Composite',
            class_name: 'Sku'
          }
        },
        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'
                }
            }
          }
        },
        data_retention_time: {
          client_side_validation: true,
          required: false,
          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